-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
71 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[behave] | ||
paths=features/ | ||
test_app/features/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
behave-django | ||
============= | ||
|
||
|Build Status| |Latest Version| | ||
|
||
Behave BDD integration for Django | ||
|
||
Features | ||
-------- | ||
|
||
- Web Browser Automation ready | ||
- Database transactions per scenario | ||
- Use Django's testing client | ||
- Use unittest + Django assert library | ||
- Use behave's command line arguments | ||
- Use behave's configuration file | ||
|
||
Getting started | ||
--------------- | ||
|
||
`Read the wiki! <https://github.com/mixxorz/behave-django/wiki/Getting-started>`__ | ||
|
||
Support | ||
------- | ||
|
||
behave-django is tested on Django 1.7.7 and 1.8 on Python 2.7, 3.3 and 3.4. However, it may work with other setups. | ||
|
||
Contributing | ||
------------ | ||
|
||
`Read the quick contributing guide <CONTRIBUTING.md>`__ | ||
|
||
Changelog | ||
--------- | ||
|
||
0.1.2 | ||
^^^^^ | ||
|
||
- FEATURE: You can now have a :code:`.behaverc` in your project's root directory. You can specify where your feature directories are in this file, among other things. See the `behave docs on configuration files <https://pythonhosted.org/behave/behave.html#configuration-files>`__. | ||
- FEATURE: Removed BEHAVE\_FEATURES setting in favor of using behave's configuration file | ||
|
||
0.1.1 | ||
^^^^^ | ||
|
||
- FEATURE: Behave management command now accepts behave command line arguments | ||
- FEATURE: BEHAVE\_FEATURES settings added for multiple feature directories | ||
- BUGFIX: Removed test apps and projects from the release package | ||
|
||
0.1.0 | ||
^^^^^ | ||
|
||
- Initial release | ||
|
||
.. |Build Status| image:: https://travis-ci.org/mixxorz/behave-django.svg?branch=master | ||
:target: https://travis-ci.org/mixxorz/behave-django | ||
.. |Latest Version| image:: https://pypip.in/version/behave-django/badge.svg | ||
:target: https://pypi.python.org/pypi/behave-django/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# Release 0.1.1 | ||
# Release 0.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
import os | ||
from setuptools import find_packages, setup | ||
|
||
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: | ||
README = readme.read() | ||
|
||
# allow setup.py to be run from any path | ||
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) | ||
|
||
setup( | ||
name='behave-django', | ||
version='0.1.1', | ||
version='0.1.2', | ||
packages=find_packages(exclude=['test*']), | ||
include_package_data=True, | ||
license='MIT License', | ||
description='Behave BDD integration for Django', | ||
long_description=README, | ||
url='https://github.com/mixxorz/behave-django', | ||
author='Mitchel Cabuloy', | ||
author_email='[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters