#25653: Provide a way to run only the selenium tests
---------------------------------------------+------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Testing framework | Version: master
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------------+------------------------
It would be nice if we had an option to run only the selenium tests in the
Django test suite. These tests are slow and don’t run by default (you must
specify `./runtests.py --selenium`). A common use case is to want to check
the selenium tests after a normal run of the test suite which skips them.
Currently you must rerun the entire test suite with selenium enabled
instead of running only the selenium tests that were skipped in the first
test run.
I think it would be okay if we changed `./runtests.py --selenium` to do
that. My argument is that there isn't a common need to run both the non-
selenium and selenium tests in one command which that option provides now.
Feel free to voice disagreement on this; for example, if you think we
should add a separate option for running only the selenium tests.
I'm not sure about the best implementation, so to whoever picks this up,
please share what you have in mind before coding.
--
Ticket URL: <https://code.djangoproject.com/ticket/25653>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.6c9238b0b68a7eee6fdf7f7b67e030ac%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.