Switch branches/tags
Nothing to show
Find file History
Pull request Compare This branch is 1 commit behind development.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src/test/java/com/raulexposito/yaus/web/controller
README.md
formatter.xml
pom.xml

README.md

BDD Module

To execute those tests the application must be running. Please, use two terminals as follows:

Terminal 1:

$ cd <module web directory>
$ mvn jetty:run

Terminal 2:

$ cd <module bdd directory>
$ mvn test

Please, notice this module is not a child of the main yaus project (of type pom) on purpose. However, this module uses the main yaus project (of type pom) as a parent.

Brief Cheatsheet:

  • Execute all tests:

$ mvn test

  • Execute only the short url generation tests:

$ mvn test -Dtest=ShortnerTest

  • Execute only the redirection tests:

$ mvn test -Dtest=RedirectTest

  • Execute only the visiting tests:

$ mvn test -Dtest=VisitingTest