Skip to content

Commit

Permalink
Update docs/source/development/automated_testing.md
Browse files Browse the repository at this point in the history
Co-authored-by: Merel Theisen <[email protected]>
Signed-off-by: L. R. Couto <[email protected]>
  • Loading branch information
lrcouto and merelcht authored Dec 6, 2024
1 parent a7aa429 commit 647c057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/development/automated_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ This test is redundant, but it introduces a few of `pytest`'s core features and
- Tests are implemented in methods or functions beginning with `test_` and classes beginning with `Test`.
- The `assert` statement is used to compare the result of the test with an expected value.

Although this specific example does not utilize fixtures, they are an essential part of pytest for defining reusable resources across tests. See [Fixtures](https://docs.pytest.org/en/7.1.x/explanation/fixtures.html#about-fixtures)
Although this specific example does not utilise fixtures, they are an essential part of pytest for defining reusable resources across tests. See [Fixtures](https://docs.pytest.org/en/7.1.x/explanation/fixtures.html#about-fixtures)

Tests should be named as descriptively as possible, especially if you are working with other people. For example, it is easier to understand the purpose of a test with the name `test_node_passes_with_valid_input` than a test with the name `test_passes`.

Expand Down

0 comments on commit 647c057

Please sign in to comment.