Giter Site home page Giter Site logo

Comments (7)

bittner avatar bittner commented on August 26, 2024

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.

bittner avatar bittner commented on August 26, 2024

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.

sih4sing5hong5 avatar sih4sing5hong5 commented on August 26, 2024

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.

bittner avatar bittner commented on August 26, 2024

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.

bittner avatar bittner commented on August 26, 2024

@mixxorz Can you re-generate the docs once the PR on the behave docs is merged + their docs published?

from behave-django.

mixxorz avatar mixxorz commented on August 26, 2024

@bittner Sure thing

from behave-django.

mixxorz avatar mixxorz commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.