Back on Task

Learn more about testing by adding tests for the task and project.

Test for Task

What remains of the definition of done? is the distinction between complete and incomplete tasks. Let’s start with that, with a test for Task:

rsync -avr --progress /usercode/* /usr/local/educative/gatherer --exclude Gemfile --exclude Gemfile.lock --exclude execute_.sh --exclude execute.sh
cd /usr/local/educative/gatherer
clear
bundle exec rspec
Adding test for class Task in task_spec.rb file

We have two specs here. The first says that a brand-new task is not complete. ...