Code used during the class / workshop about software testing in rails. Contains model, controllers, integration and system testing (using chrome headless + selenium running inside Vagrant).
To Do:
-
Document everything in this readme.
-
Maybe redo it, splitting each step in different commits (and tags)
-
git clone && vagrant up && cd /vagrant && rails test && rails test:system to get it done
-
Installing chrome+selenium+chromewebdriver+xfvb+jse is required to run system tests, check: https://gist.github.com/renatopanda/0f0712a10eda32689334da514e21606e