Testing

Basically, a distinction is made between static and dynamic test procedures.

Static test procedures

are used to check the source code, although this is not executed. They are divided into

  • reviews and

  • static program analysis

    There are various Python packages that can help you with static code analysis, including flake8, Pysa and Wily.

    Note

    We also use static code analysis and linting for the generated code in agent-based software development:

    AGENTS.md
    # Code quality and linting
    - Use ruff, ty, prek, wily for code quality and linting.
    - Run appropriate tooling after making changes to your code to ensure it meets quality standards.
    
Dynamic test procedures

are used to find errors when executing the source code. A distinction is made between whitebox and blackbox tests.