Skip to content

Commit

Permalink
test(tree-details-summary): add unit tests
Browse files Browse the repository at this point in the history
- Simple test to check if the endpoint returns the expected
  structure
- Test filter for tests/boots status
- Test filter for builds status
- Test filter for configs
- Test filter for architectures
- Test filter for compilers
- Test filter for hardware
- Test filter for issues
- Test filter for invalid filter values
- Added `--run-all` flag to pytest to be able to skip some tests during
  pre-push

Closes #985
  • Loading branch information
murilx committed Feb 25, 2025
1 parent 900a9b4 commit f4d3027
Show file tree
Hide file tree
Showing 5 changed files with 519 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
def pytest_addoption(parser):
parser.addoption(
"--run-all", action="store_true", default=False, help="run all test cases"
)
Loading

0 comments on commit f4d3027

Please sign in to comment.