4 ms·
Thanks! For the first point, we had a debate on wether we should expose the tests to the student as it would: 1. Maybe help them to find the solution 2. Allow
by ssaunier_ 12y ago
Thanks!
For the first point, we had a debate on wether we should expose the tests to the student as it would:
1. Maybe help them to find the solution
2. Allow them to change the tests just to make their solution pass
In practise, we realized that error messages from specs do not necessary reveal the solution (point 1), and for point 2, we decided to trust the students (they are adults, in a paying bootcamp), and it works actually. So no need to put spec overwriting / hiding.
For the second question, we are running a simple rake runner (see https://gist.github.com/ssaunier/9713130 https://gist.github.com/ssaunier/9713130), launching the tests in a specific folder and parsing the result. We are not doing isolated environments with ruby install / bundle install like TravisCI does, so it is suited for our simple use case only.
Hope that answers your question!