Skip to content

Commit b2e654e

Browse files
Lan Gongfacebook-github-bot
authored andcommitted
Add notification for pytest migration (#108)
Summary: As titled Pull Request resolved: #108 Test Plan: Markdown rendering in Github UI Reviewed By: ankitade Differential Revision: D37331098 Pulled By: langong347 fbshipit-source-id: 6d0147b1163f4ddd3b0f0d6d3a9a601341459b14
1 parent c6024b7 commit b2e654e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,12 @@ mypy `git diff main --name-only`
8989

9090

9191
### Unit Tests
92-
Please add unit tests for adding a new feature or a bug-fix. To run a specific test:
92+
Please add unit tests for adding a new feature or a bug-fix.
9393

94+
*Note: we are migrating from `unitest` to [`pytest`](https://docs.pytest.org/en/7.1.x/).
95+
Please write your tests in pytest to help us with the transition.*
96+
97+
To run a specific test:
9498
```
9599
pytest test/<test-module.py> -vv -k <test_myfunc>
96100
# e.g. pytest test/models/test_cnn_lstm.py -vv -k TestCNNLSTMModule

0 commit comments

Comments
 (0)