YARN-9631. Added ability to select JavaScript test or skip JavaScript tests for YARN application catalog.
Contributed by Eric Yang (cherry picked from commit 6002b0c5c6994965d3f7231330248c093869dba2)
This commit is contained in:
parent
71ecd2e411
commit
5bfdf62614
@ -36,6 +36,7 @@
|
|||||||
<vendor.loc>target/generated-sources/vendor</vendor.loc>
|
<vendor.loc>target/generated-sources/vendor</vendor.loc>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<dependency.locations.enabled>false</dependency.locations.enabled>
|
<dependency.locations.enabled>false</dependency.locations.enabled>
|
||||||
|
<javascript.test>*Spec</javascript.test>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@ -365,6 +366,7 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<skipJasmineTests>${skipTests}</skipJasmineTests>
|
||||||
<webDriverClassName>org.openqa.selenium.phantomjs.PhantomJSDriver</webDriverClassName>
|
<webDriverClassName>org.openqa.selenium.phantomjs.PhantomJSDriver</webDriverClassName>
|
||||||
<webDriverCapabilities>
|
<webDriverCapabilities>
|
||||||
<capability>
|
<capability>
|
||||||
@ -381,7 +383,7 @@
|
|||||||
<jsSrcDir>src/main/javascript</jsSrcDir>
|
<jsSrcDir>src/main/javascript</jsSrcDir>
|
||||||
<jsTestSrcDir>src/test/javascript</jsTestSrcDir>
|
<jsTestSrcDir>src/test/javascript</jsTestSrcDir>
|
||||||
<specIncludes>
|
<specIncludes>
|
||||||
<include>*Spec.js</include>
|
<include>${javascript.test}.js</include>
|
||||||
</specIncludes>
|
</specIncludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
@ -458,6 +460,17 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>test-selector</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>test</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<javascript.test>${test}</javascript.test>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>rest-docs</id>
|
<id>rest-docs</id>
|
||||||
<build>
|
<build>
|
||||||
|
Loading…
Reference in New Issue
Block a user