Use the headless Ruby gem in the automated test suite
In our test suite the
headless Ruby gem could
xvfb and video capturing stuff in
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.