Created
August 13, 2018 12:18
-
-
Save willianantunes/2b0875d50f3d4a47bbe6b9c8462beb74 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>com.github.searls</groupId> | |
<artifactId>jasmine-maven-plugin</artifactId> | |
<version>3.0-alpha-01</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>test</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<specRunnerHtmlFileName>SpecRunnerGenerated.html</specRunnerHtmlFileName> | |
<jasmineTargetDir>${project.build.directory}/jasmine</jasmineTargetDir> | |
<jsSrcDir>${project.basedir}/src/main/resources/static/js</jsSrcDir> | |
<jsTestSrcDir>${project.basedir}/src/test/javascript/spec</jsTestSrcDir> | |
<additionalContexts> | |
<context> | |
<contextRoot>support</contextRoot> | |
<directory>${project.basedir}/src/test/javascript/support</directory> | |
</context> | |
</additionalContexts> | |
<preloadSources> | |
<preloadSource>support/ScenarioBuilder.js</preloadSource> | |
</preloadSources> | |
<sourceIncludes> | |
<include>services/*.js</include> | |
<include>controllers/*.js</include> | |
</sourceIncludes> | |
</configuration> | |
<dependencies> | |
<dependency> | |
<groupId>org.webjars.npm</groupId> | |
<artifactId>jasmine</artifactId> | |
<version>3.1.0</version> | |
</dependency> | |
</dependencies> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment