Testing

Alef supports code-level tests and operational smoke tests.

Alef Tests


@test
fn adds_numbers() {
    assert_eq(2 + 3, 5)
}

Run:


alef test .

Smoke Tests

Public app examples should include scripts/smoke.sh.

For a server example, smoke tests should:

This is how the TicketDesk UI example proves it is not a static mockup.