Skip to content

Commit

Permalink
Added more issue and pull request numbers to the changelog. Added stu…
Browse files Browse the repository at this point in the history
…ff about coverage and nose-parameterized integration to the readme.
  • Loading branch information
CleanCut committed Mar 30, 2015
1 parent 2fab0e3 commit 1b63beb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ question to get things going. Contributed by Mikko Ohtamaa. Pull request
#43.

- Added -p / --pattern option to specify the file pattern to search for tests
under instead of the default pattern (test*py).
under instead of the default pattern (test*py). Contributed by ???. Issue
#41. Pull request #42.

- Green now supports nose-parameterized. Contributed by Sam Spilsbury. Issue
#39. Pull request #40.
Expand Down
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ Green is a **clean, colorful test runner** for Python unit tests. Compare it to
6. [Advanced Usage](https://github.com/CleanCut/green#advanced-usage)
7. [Integration](https://github.com/CleanCut/green#integration)
- [Bash and Zsh](https://github.com/CleanCut/green#bash-and-zsh)
- [coverage](https://github.com/CleanCut/green#coverage)
- [Django](https://github.com/CleanCut/green#django)
- [nose-parameterized](https://github.com/CleanCut/green#nose-parameterized)
8. [Unit Test Structure Tutorial](https://github.com/CleanCut/green#unit-test-structure-tutorial)
9. [Origin Story](https://github.com/CleanCut/green#origin-story)

Expand All @@ -30,8 +32,8 @@ Features
--------

- **Colorful** - Terminal output makes good use of color when the terminal supports it.
- **Clean** - Low redundancy in output. Result stats for each test is lined up in a vertical column.
- **Fast** - Can run tests in independent subprocesses.
- **Clean** - Low redundancy in output. Result statistics for each test is vertically aligned.
- **Fast** - Tests can run in independent subprocesses.
- **Powerful** - Multi-target + auto-discovery.
- **Traditional** - Use the normal `unittest` classes and methods for your unit tests.
- **Descriptive** - Four verbosity levels, from just dots to full docstring output.
Expand Down Expand Up @@ -159,6 +161,11 @@ config file of your choice (usually `~/.bashrc` or `~/.zshrc`)
which green >& /dev/null && source "$( green --completion-file )"
```

### Coverage

Green has built-in integration support for the
[coverage](http://coverage.readthedocs.org/) module. Just make sure `coverage`
is installed, and then add `-r` or `--run-coverage` when you run green.

### Django

Expand All @@ -173,6 +180,13 @@ Django can use green as the test runner for running tests.
TEST_RUNNER="green.djangorunner.DjangoRunner"
```

### nose-paramaterized

Green will run generated tests created by
[nose-parameterized](https://github.com/wolever/nose-parameterized). They have
lots of examples of how to generate tests, so follow the link above if you're
interested.


Unit Test Structure Tutorial
----------------------------
Expand Down

0 comments on commit 1b63beb

Please sign in to comment.