[TIP] Feedback request: flake8-aaa
Ben Finney
ben+python at benfinney.id.au
Fri Sep 14 01:04:44 PDT 2018
James Cooke <me at jamescooke.info> writes:
> […] I'd be interested in your feedback on a Flake8 plugin
> that I've been working on called flake8-aaa:
Thanks for writing a style checker for test code.
> This plugin is in beta and currently checks four basic rules to help
> break a test into three distinct blocks:
> https://flake8-aaa.readthedocs.io/en/stable/rules.html
That page doesn't make clear to me: What consititudes a valid block of
each kind?
For example:
* Must the “Act block” be an assignment? Are other statements allowed?
Are multiple statements allowed? What exactly will be *not* allowed as
an Act block?
* What exactly constitutes a valid Assert block? What styles of
assertion are recognised (pytest, nose, standard library `unittest`,
others)? What constitutes an invalid Assert block?
> Please let me know via email or GitHub issues
I don't want to use GitHub, so I hope you'll be participating in this
forum where you asked for feedback :-)
--
\ “I don't know anything about music. In my line you don't have |
`\ to.” —Elvis Aaron Presley (1935–1977) |
_o__) |
Ben Finney
More information about the testing-in-python
mailing list