Use the headless Ruby gem in the automated test suite
In our test suite the headless Ruby gem could replace our
xvfb and video capturing stuff in
run_test_suite. Moving that code “into Ruby” would give us more flexibility. For instance:
- We would only run the
xvfbserver when we need it, i.e. only for @
productfeatures, and not for @
sourcefeatures where it’s just weird.
* We’d probably get better cleaning up of the leftover sockets in
- We could capture per-scenario videos (and perhaps delete all but failing the ones?).
It’s also a step towards removing the
run_test_suite shell wrapper to have the complete test suite in Ruby only.
Unfortunately it’s not packaged in Debian, but before we try making that happen we should investigate whether this gem truly suites our needs, so it’s not a wasted effort.
#6 Updated by anonym 2015-04-29 10:28:00
- Description updated
- Target version changed from Tails_1.4 to Hole in the Roof
> If that’s one possible way to fix
Bug #8707, then let’s set the same target version on it.
Bug #8707 fixed, I’ll make this into a Hole in the roof, suitable for procrastination at some point.
#9 Updated by anonym 2015-09-02 09:44:52
- Status changed from Confirmed to Rejected
- Assignee deleted (
I’m rejecting this ticket simply because we should waste time on it. Per-scenario video captures can of course be implemented without this, and has already been done for
Feature #10148, and that’d be the biggest gain really. If we want to get rid of the shell wrapper, nothing really prevents us from moving the current
xvfb shell stuff into ruby.