diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-03 15:04:46 -0400 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-03 15:04:46 -0400 |
| commit | 4ebab8889cc8546bf19bbd2981b2231547b45757 (patch) | |
| tree | a3bf7d0ce6bc249ef252284b68712aa7257ec941 /CONTRIBUTING.md | |
| parent | b581fd53ee6ae6c478eacbaa79cac9fcb68f6d76 (diff) | |
| download | cmd2-git-4ebab8889cc8546bf19bbd2981b2231547b45757.tar.gz | |
Add screenshot to front page
Also:
- Updated pythong_scripting.py example to show how to colorize text
- Updated contributing.md to show how to run code coverage in parallel using python-xdist and -nauto
- Updated contributing.md to talk more about looking at unit test results within the PR
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ffac39bf..88898f8d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -274,7 +274,7 @@ where `4` should be replaced by the number of parallel threads you wish to run f Code coverage can be measured as follows: ```shell -py.test --cov=cmd2 --cov-report term-missing --cov-report=html +py.test -nauto --cov=cmd2 --cov-report=term-missing --cov-report=html ``` Then use your web browser of choice to look at the results which are in `<cmd2>/htmlcov/index.html`. @@ -390,6 +390,14 @@ how to do it. 6. Indicate what local testing you have done (e.g. what OS and version(s) of Python did you run the unit test suite with) + +7. Creating the PR causes our continuous integration (CI) systems to automatically run all of the + unit tests on all supported OSes and all supported versions of Python. You should watch your PR + to make sure that all unit tests pass on Both TravisCI (Linux) and AppVeyor (Windows). + +8. If any unit tests fail, you should look at the details and fix the failures. You can then push + the fix to the same branch in your fork and the PR will automatically get updated and the CI system + will automatically run all of the unit tests again. ### How We Review and Merge Pull Requests |
