-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Pytest Markers Configuration (#1849)
* Add pytest.ini with markers specified * Update conftest with automatic markers based on test path --------- Co-authored-by: Karl Higley <kmhigley@gmail.com>
- Loading branch information
1 parent
24136ef
commit 77b94a4
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[pytest] | ||
markers = | ||
unit: mark as unit test | ||
examples: mark as example | ||
ops: mark as tesing operators | ||
loader: mark as testing the dataloader | ||
tensorflow: mark as using tensorflow | ||
torch: mark as using torch | ||
singlegpu: mark as testing single GPU | ||
multigpu: mark as testing multi-GPU |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters