Comments (7)
In fact, there is no difference. You do not need any additional setup apart from adding behave_django
to your INSTALLED_APPS
(see the Installation chapter). The example for features, steps, environment would be just what the behave docs show. Plus optional goodies from the Usage chapter, naturally.
If you feel there is a full-blown example missing, please fork the repo, adapt the docs, and place a pull request.
We could in theory also maintain a list of good examples, open source projects that use (and do a good job using) behave-django
.
from behave-django.
The files mentioned (and used for the demo output) in the Installation chapter are actually the ones in the features/
folder of our repository:
All the files in this folder serve as useful examples (see context-urlhelper.py, for example). Maybe we should mention that and link to them from the docs?
from behave-django.
Adding links for the above three files is enough.
All the files in this folder serve as useful examples (see context-urlhelper.py, for example).
The docs can mention and link this.
More examples is better.
from behave-django.
I think we will link (back) to the Django chapter of the behave
docs, once PR 429 is merged. This will make using behave-django
much clearer. Without adding explanations that are already provided by the behave
docs. And in addition we can link to our source code from the docs, as discussed above.
More examples is better.
What do you think about adding Django examples to the behave/behave.example repository? Please, do that! Everybody will appreciate your contribution.
from behave-django.
@mixxorz Can you re-generate the docs once the PR on the behave docs is merged + their docs published?
from behave-django.
@bittner Sure thing
from behave-django.
I've rebuilt and uploaded the docs!
https://pythonhosted.org/behave-django/
I'll open up another issue regarding migrating to Read The Docs (for automated doc builds).
from behave-django.
Related Issues (20)
- Documentation of django_ready hook incorrectly lists "scenario" as a second positional argument HOT 2
- Fixtures silently do nothing when --simple is specified, and no documentation calls this out HOT 10
- Getting more programmatic flexibility on the testcase type used in scenarios HOT 4
- Cleanup of custom permissions between scenarios HOT 1
- multiple features and before_all initial setup HOT 2
- how to assess test case code coverage? HOT 5
- Testing ASGI Django HOT 5
- Custom Runner e TestCase HOT 19
- Add support for customized LiveServerTestCase with selenium-hub support HOT 1
- Support latest stable version of Python and Django
- Use GitHub Actions CI HOT 1
- Looking for (co-)maintainer! 🔥🙏🦠🔥🐍 HOT 3
- Tables are not created for test_database while running behave test HOT 3
- Investigate potential bug in `environment.get_url()`
- Inconsistent when using behave --simple HOT 1
- Objects not only being created in test database
- Behave v1.2.7.dev3 breaks management command HOT 5
- NEEDS: .readthedocs.yaml config-file soon (before 2023-09) HOT 1
- Coverage advice breaks m2m queries. HOT 2
- Dependency on Behave blocks release on PyPI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from behave-django.