Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quick start

One .bt file, one scenario, one run.

A scenario is a .bt file. Point base at your app, list the steps, and run the folder:

# tests/shop.bt
base http://127.0.0.1:8000

scenario "Adding a product counts it in the cart"
  goto /
  click --text "Add to cart"
  expect --selector "#cart-count" text is 1
$ bitti run tests
PASS  tests/shop.bt:3  Adding a product counts it in the cart  (119 ms)
1 passed, 0 failed in 219 ms

Every step, check and variable: The .bt format; every command and flag: Running.


Made from README.md.