dotenv-linter icon indicating copy to clipboard operation
dotenv-linter copied to clipboard

Test violations codes and docs

Open sobolevn opened this issue 6 years ago • 4 comments

We need to tests that all violations

  1. have unique codes
  2. correctly sorted inside the code
  3. have docs in the module docstrings

You can have a look at the example (this code can be even copy-pasted): https://github.com/wemake-services/wemake-python-styleguide/tree/master/tests/test_violations

sobolevn avatar Dec 11 '18 15:12 sobolevn

Awesome! I'll get a look at it this week (super busy with a new contract).

kaelscion avatar Jun 04 '19 19:06 kaelscion

Awesome! Thanks.

sobolevn avatar Jun 04 '19 19:06 sobolevn

I've got the violations testing in order but noticed that we don't have a config.py for this project, unlike the example. In the example, the Configuration object is needed in the final function in test_docs.py to ensure that all documentation for all configurations is available. Is there an equivalent configuration file I should use for this instance that I just don't see or are we not using one?

kaelscion avatar Jun 06 '19 20:06 kaelscion

Not yet. 🙁

sobolevn avatar Jun 07 '19 07:06 sobolevn