Logo: Relish

  1. Sign in

Project: Jasmine-maven-plugin

skipping tests

In order to build quickly or when the build is known to be unstable
I want to skip tests from the command line

Scenarios
skipping tests with -DskipTests
Given
I am currently in the "jasmine-webapp-single-failing" project
When
I run "mvn clean test -DskipTests"
Then
the build should succeed
And
I should not see "Results: 5 specs, 1 failure"
And
I should not see "There were Jasmine spec failures"
setting -DskipTests=false
Given
I am currently in the "jasmine-webapp-single-failing" project
When
I run "mvn clean test -DskipTests=false"
Then
the build should fail
And
I should see "Results: 5 specs, 1 failure"
And
I should see "There were Jasmine spec failures"

Last published over 4 years ago by searls.