Skip to content

Commit 11a6ef7

Browse files
committed
Fix unit testing section
1 parent ee08526 commit 11a6ef7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README-dev.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Development should be done in a personal virtualenv. To setup the virtual enviro
4747
1. `virtualenv /path/to/env/root`. This should be a Python 2.7 virtualenv.
4848
2. `source ~/path/to/env/root/bin/activate`.
4949

50-
### Installing the SDK from source
50+
###Installing the SDK from source
5151
To install the SDK, follow these steps:
5252

5353
1. Create a file at
@@ -104,11 +104,10 @@ Currently, there are three types of SDK testing: unit, manual, and functional (b
104104
105105
### Unit Testing
106106
107-
Go into one of the package directories (common, dvp, libs, platform, tools) and run the following commands (if you haven't done it already):
107+
Go into one of the package directories (common, dvp, libs, platform, tools) and follow these steps:
108108
109-
1. Install the package's development dependencies: `pip install -r requirements.txt`.
110-
2. Install the package itself in editable mode: `pip install -e .`.
111-
3. Run unit tests: `python -m pytest src/main/python`.
109+
1. Install the package's development dependencies and package itself by following the directions in [the SDK installation section](#installing-the-sdk-from-source).
110+
2. Run unit tests: `python -m pytest src/test/python`.
112111
113112
There's no way to locally run unit tests in all packages with one command. However, they will be run automatically
114113
through GitHub Actions when you open a pull request. You can always open a draft pull request

0 commit comments

Comments
 (0)