|
@@ -36,6 +36,7 @@
|
|
|
<vendor.loc>target/generated-sources/vendor</vendor.loc>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<dependency.locations.enabled>false</dependency.locations.enabled>
|
|
|
+ <javascript.test>*Spec</javascript.test>
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
@@ -365,6 +366,7 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
<configuration>
|
|
|
+ <skipJasmineTests>${skipTests}</skipJasmineTests>
|
|
|
<webDriverClassName>org.openqa.selenium.phantomjs.PhantomJSDriver</webDriverClassName>
|
|
|
<webDriverCapabilities>
|
|
|
<capability>
|
|
@@ -381,7 +383,7 @@
|
|
|
<jsSrcDir>src/main/javascript</jsSrcDir>
|
|
|
<jsTestSrcDir>src/test/javascript</jsTestSrcDir>
|
|
|
<specIncludes>
|
|
|
- <include>*Spec.js</include>
|
|
|
+ <include>${javascript.test}.js</include>
|
|
|
</specIncludes>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
@@ -458,6 +460,17 @@
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</profile>
|
|
|
+ <profile>
|
|
|
+ <id>test-selector</id>
|
|
|
+ <activation>
|
|
|
+ <property>
|
|
|
+ <name>test</name>
|
|
|
+ </property>
|
|
|
+ </activation>
|
|
|
+ <properties>
|
|
|
+ <javascript.test>${test}</javascript.test>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
<profile>
|
|
|
<id>rest-docs</id>
|
|
|
<build>
|