Test Functions
Merit uses a simple naming convention similar to pytest. Test functions must start withmerit_:
Test Classes
Group related tests in classes that start withMerit:
Async Tests
Merit fully supports async/await:Test Discovery
Merit discovers tests in files matching:test_*.py*_test.py
- Functions starting with
merit_ - Methods in classes starting with
Merit
Running Tests
Run all tests in current directory:Assertions
Use standard Pythonassert statements: