Skip to content

Commit

Permalink
Merge pull request #114 from tysonclugg/nose-plugin-entry-point
Browse files Browse the repository at this point in the history
Add nose plugin entry point to allow running BDD tests via normal `nosetests` client
  • Loading branch information
koterpillar authored Jul 8, 2016
2 parents c34ef37 + 1b5acaa commit e6dccdf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ Read the [documentation][docs].
Invocation
----------

`aloe` command line tool is a wrapper for the `nose` runner, configured to only
run Gherkin tests. As such, the invocation is the same as `nose`, but the
Pass the `--with-gherkin` argument to `nosetests` to run your BDD tests. You
may also pass the `--no-ignore-python` argument to run other nose discovered
tests as well.

The `aloe` command line tool is a wrapper for the `nose` runner, configured to
only run Gherkin tests. As such, the invocation is the same as `nose`, but the
following parameters are added:

* `-n N[,N...]` - only run the specified scenarios (by number, 1-based) in each
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
include_package_data=True,

entry_points={
'nose.plugins.0.10': [
'aloe = aloe.plugin:GherkinPlugin',
],
'console_scripts': [
'aloe = aloe:main',
],
Expand Down

0 comments on commit e6dccdf

Please sign in to comment.