subsecondtdd / ibsen

Sub-Second TDD framework for Node.js and browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ibsen

Ibsen is a small framework that decouples tests from the system under test (SUT). Tests using Ibsen interact with the application via actors, interactions and sessions.

Why would you want to decouple your tests from the SUT? Three reasons:

  • Tests can run in milliseconds
  • Tests become more maintainable
  • Tests become more readable

This guide will teach you everything you need to know to get started with Ibsen. Let's start by explaining some of the key concepts.

Actors

The main

Interactions

  • Open-Closed

Sessions

DomSession

WebDriverSession

Custom Session

  • Domain-specific

Constraints

Context

  • Never goes through UI

Action

Outcome

Lifecycle

Debugging

  • Chrome
  • Cucumber-Electron

Inspiration

  • Screenplay pattern

About

Sub-Second TDD framework for Node.js and browser

License:MIT License


Languages

Language:TypeScript 93.5%Language:Shell 4.4%Language:Gherkin 1.5%Language:JavaScript 0.5%