flake8-aaa
stable

Contents

  • Compatibility list
  • Test discovery and analysis
  • Rules and error codes
  • Controlling Flake8-AAA
  • Release checklist
flake8-aaa
  • Docs »
  • Flake8-AAA documentation
  • Edit on GitHub

Flake8-AAA documentation¶

Overview¶

Flake8-AAA is a Flake8 plugin that checks Python tests follow the Arrange-Act-Assert pattern.

Please see the README on GitHub for a general introduction to this project and AAA.

Continue here for more detail about using Flake8-AAA.

Contents

  • Compatibility list
    • Python
    • Flake8
    • Yapf
    • Black
    • Pytest
    • Unittest
  • Test discovery and analysis
    • Filtering
    • Processing
  • Rules and error codes
    • AAA01: no Act block found in test
    • AAA02: multiple Act blocks found in test
    • AAA03: expected 1 blank line before Act block, found none
    • AAA04: expected 1 blank line before Assert block, found none
    • AAA05: blank line in block
    • AAA06: comment in Act block
    • AAA99: collision when marking this line as NEW_CODE, was already OLD_CODE
  • Controlling Flake8-AAA
    • In code
    • Command line
  • Release checklist
    • Versioning
    • Documentation
    • Merge
    • Test PyPI
    • Tag and push
    • Post release checks
Next

© Copyright 2018 - 2020, James Cooke Revision b11b9f16.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: stable
Versions
latest
stable
v0.12.1
v0.12.0
v0.11.2
v0.11.1
v0.11.0
v0.10.1
v0.10.0
v0.9.0
v0.8.1
v0.8.0
v0.7.2
v0.7.1
v0.7.0
v0.6.2
v0.6.1
v0.6.0
v0.5.2
v0.5.1
v0.5.0
v0.4.0
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.