svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 325 forks source link

Add command-line option to reuse contexts between tests & improve imports handling. #178

Open svanoort opened 8 years ago

svanoort commented 8 years ago

This allows people to use imports as adhoc setup/teardown options (albeit without the ability to ignore setup/teardown errors).

danghoaidanh commented 8 years ago

Hi There,

It gives me bellow error:

resttest.py: error: no such option: --shared-context

Thanks

svanoort commented 8 years ago

@danghoaidanh It is not implemented yet, this is on the future roadmap for enhancements.

danghoaidanh commented 8 years ago

Thanks

resilva87 commented 7 years ago

Hi @svanoort I implemented this feature in my forked repo: https://github.com/resilva87/pyresttest/tree/feature/shared-context

Quick question: when I try to run the tests (with run_tests.sh ) I keep getting the following error: "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet."

I'm building and running pyresttest with py3, do you have any ideas?

Thanks!