xvfb-run should be integrated better
Bug #610172 reported by
Aaron Bentley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
We usually want to run our tests headless, so both test_on_merge and the testresources config cause xvfb-run to be invoked. This is code duplication, and is also inefficient, because xvfb may not be needed to run the specified tests.
Instead, it would make sense to invoke xvfb only when running selenium tests, and to turn off xvfb according to a commandline flag like "--show-browser".
+1 on the idea. Low importance right now, but would be happy for Foundations to be a resource to help someone who wants to fix this.
I don't know enough about the Windmill layer integration to know if this would be relatively easy.