rlisagor / freshen

Clone of the Cucumber BDD framework for Python
GNU General Public License v3.0
355 stars 56 forks source link

An improved Django integration with fixtures support #10

Closed cyberdelia closed 10 years ago

cyberdelia commented 14 years ago

I've removed the django-sane-testing "dependency" in favor of django-nose which uses default Django testing tools and plays well with other Django related tools.

I've also added a way to specify fixtures at a scenario level like via scc.fixtures using Django code and behavior. For example :

@Before
def before(sc):
    scc.fixtures = ['birds', 'mammals.json']

It makes it easier to use freshen with Django but may break old test that rely heavily on django-sane-testing fixtures.

rlisagor commented 13 years ago

In order to preserve backwards compatibility and also allow for people to do things like #25, I'd like to provide a configurable base class for test cases. Freshen could then include django-sane-testing, django-nose, and twisted base classes that you guys have written.