Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 17, 2024
1 parent 78c5836 commit 17f17c6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,17 @@ import pytest


# A
def test_speedy_unit_test():
...
def test_speedy_unit_test(): ...


# B
@pytest.mark.integration
def test_integration_test():
...
def test_integration_test(): ...


# C
@pytest.mark.slow_integration
def test_super_slow_integration_test():
...
def test_super_slow_integration_test(): ...
```

You want to quickly run all your quick unit tests before committing. Then, after you are happy that the changes haven't messed up any unit tests you want to run the integration tests, and then after that your *super* slow integration tests. This would look like:
Expand Down

0 comments on commit 17f17c6

Please sign in to comment.