Skip to content

Commit 5777d85

Browse files
committed
Improved docs for testing
1 parent bf3a4a8 commit 5777d85

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ pip install -e ".[test]"
8080
Well-written tests and maintaining good test coverage is important to this project. While developing, run new and existing tests with:
8181

8282
```sh
83-
py.test PATH/TO/MY/DIR/test_test.py # Single file
84-
py.test PATH/TO/MY/DIR/ # All tests in directory
83+
py.test graphene/relay/tests/test_node.py # Single file
84+
py.test graphene/relay # All tests in directory
8585
```
8686

8787
Add the `-s` flag if you have introduced breakpoints into the code for debugging.

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ this project. While developing, run new and existing tests with:
107107

108108
.. code:: sh
109109
110-
py.test PATH/TO/MY/DIR/test_test.py # Single file
111-
py.test PATH/TO/MY/DIR/ # All tests in directory
110+
py.test graphene/relay/tests/test_node.py # Single file
111+
py.test graphene/relay # All tests in directory
112112
113113
Add the ``-s`` flag if you have introduced breakpoints into the code for
114114
debugging. Add the ``-v`` ("verbose") flag to get more detailed test

0 commit comments

Comments
 (0)