Acceptance testing are used to determine if the requirements of a specification are met. It should be run in an environment as similar as possible of the production one. So if your application is deployed into Openshift you will require a parallel account to the one used in production for running the tests. In this post we are going to write an acceptance test for an application deployed into Openshift which uses MongoDB as database backend.

The application deployed is a very very simple library which returns all the books available for lending. This application uses MongoDB for storing all information related to books.

So let's start describing the goal, feature, user story and acceptance criteria for previous application.

Read Full Post