Agent Wranglers

Unit tests

Small tests for rules and calculations. They test behaviour through public functions, run in milliseconds, and give the same result every time.

  • Required 3
  • Recommended 2

Required

For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers testing playbook: https://agentwranglers.se/playbook/testing/unit-tests.