Skip to content

A small tested application ​

A calculator logs each addition. Its nearby tests replace the logger and verify both labeled inputs and fresh setup.

Start with the project overview, then open an operation’s sequence or explanation. Source stays beside its spec when you need to inspect an expression. Choose Indentation or Braces for that code view; the choice carries across files.

Follow the program ​

Read the explanation of main.aug. Startup supplies providers, uses collections, invokes the calculator, and catches a simulated load failure.

Read the explanation of calculator.aug. The calculator receives a logger and adds two inputs. Its tests supply a private silent logger.

Read the explanation of logging/logger.aug. The production logger and test adapter implement this interface.

Explore the generated project diagrams to follow data between folders, then open module interactions and API sequences.

Project files ​

Try this project ​

Download this project, then extract the archive in an empty working folder. It contains source, configuration, and compiled specs. Install August once, then run these commands. Native libraries are prepared automatically when needed:

sh
cd developer-workflow
aug check .
aug spec .
aug test .
aug run .

Browse all examples

Last updated:

The world runs on language