Final validation

Let us imagine that a different person worked on the code that should fulfill the requirements set by our scenarios. This person picked one scenario at the time, developed the code, ran that scenario, and confirmed that his implementation was correct. Once the implementation of all scenarios has been done, it is time to run the whole story and do the final validation.

For that matter, the application has been packed as a Docker file and we have prepared a virtual machine with Vagrant for executing the application.

Check out the branch at https://bitbucket.org/vfarcic/tdd-java-ch08-books-store/branch/03-validation and run Vagrant:

$ vagrant up
  

The output should be similar to the following:

==> default: Importing base box ...

Get Test-Driven Java Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.