I have always wanted to take video recordings of my test execution ... discard the video if the test passes, and save it if the test fails.
Recently, I found that the headless gem does that for you. There is also some sample code to make the integration of this gem in your test framework very seamless.
While using the gem and its api's are very straightforward, this did not work very well for me.
- I run my tests from various different types of machines / os, namely, mac, RHEL and Windows
- The total number of machines I can run my tests from is huge (>20) … mainly triggered via CI
- The RHEL environment is controlled and configured by puppet.
- There is a bunch of underlying library requirements for the video capture
So though it is easy to use the gem, it is not really easy to setup ALL test execution environments with these dependent libraries for this to work - at least for me.
Does anyone know of a better / easier solution?