Skip to content

Releases: searls/jasmine-maven-plugin

Jasmine Maven Plugin 1.3.1.5

09 May 04:22
Compare
Choose a tag to compare
  • Support for referencing scripts from webjars or on the classpath via the preloadSources parameter. See #221.
  • Support for adding additional contexts so that scripts can be loaded from locations other than source and spec directories. See example configuration here and an example project here.
  • Made a small change to the webDriverCapabilities to allow usage of maven's implementation hints so capability values can be objects other than Strings. This does not work on map entry values but it does work on items in a list. For example:
<webDriverCapabilities>
  <capability>
    <name>this-is-a-string-cabability</name>
    <value>a-string</value>
  </capability>
  <capability>
    <name>this-is-a-boolean-capability</name>
    <value implementation="java.lang.Boolean">true</value>
  </capability>
  <capability>
    <name>phantomjs.cli.args</name>
    <list>
      <value implementation="java.lang.Integer">10</value> <!-- works in list elements -->
      <value>this-is-a-string</value>
    </list>
  </capability>
</webDriverCapabilities>

The release should be over in maven central soon. Check it out.

Jasmine Maven Plugin 1.3.1.4

17 Jan 06:21
Compare
Choose a tag to compare

Noteworthy changes in this release:

  <webDriverCapabilities>
    <phantomjs.binary.path>/opt/phantomjs/bin/phantomjs</phantomjs.binary.path>
  </webDriverCapabilities>

New Format (1.3.1.4 and newer):

  <webDriverCapabilities>
    <capability>
      <name>phantomjs.binary.path</name>
      <value>/opt/phantomjs/bin/phantomjs</value>
    </capability>
  </webDriverCapabilities>

This new format also supports lists and maps:

  <webDriverCapabilities>
    <capability>
      <name>phantomjs.cli.args</name>
      <list>
        <value>--disk-cache=true</value>
        <value>--max-disk-cache-size=256</value>
      </list>
    </capability>
    <capability>
      <name>proxy</name>
      <map>
        <httpProxy>myproxyserver.com:8000</httpProxy>
      </map>
    </capability>
  </webDriverCapabilities>
  • The plugin will now fail the build whenever there is a console error even when phantomjs is being used. See #209
  • Added new coffeeScriptCompilationEnabled config parameter to disable automatic CoffeeScript compilation. See #87 #215
  • Fixed a bug that was causing the plugin to fail if a config file didn't exist even when skipping tests. See #206
  • Added new serverHostname config parameter for changing the hostname used to build the URL to your spec runner. Default is localhost. See #198
  • Added new uriScheme config parameter for changing the URI Scheme used to build the URL to your spec runner. Default is http. See #184
  • Added new connectorClass config parameter for changing the Jetty Connector implementation. Useful if you need your spec runner available under an SSL connection. See #184
  • Upgraded to the latest version of Selenium

Full list of changes can be found here.

See documentation for usage.

Jasmine Maven Plugin 1.3.1.3

03 Oct 04:07
Compare
Choose a tag to compare

Noteworthy changes in this release:

  • Added support for symlinks. See issue #148.
  • Skip jasmine tests when maven.test.skip=true. See docs and issue #72.
  • Added configuration parameter skipJasmineTests to skip only jasmine tests. See docs and issue #42.

Full list of changes can be found here.

See documentation for usage.

Jasmine Maven Plugin 1.3.1.2

04 Sep 21:22
Compare
Choose a tag to compare

Minor release fixing issues introduced in v1.3.1.1, see here for details.

Jasmine Maven Plugin 1.3.1.1

04 Sep 21:27
Compare
Choose a tag to compare

The full list of changes can be found here.

Here is a quick summary:

  • Added support for using PhantomJS through GhostDriver. For configuration examples see here.
  • Allow passing filesystem path, a URL, or a classpath resource for customRunnerTemplate and customRunnerConfiguration parameters.
  • Fixed a few bugs with path generation in the spec runner. See #169 and #170 for details.
  • Added autoRefreshInterval parameter to the jasmine:bdd goal. When this parameter is set the spec runner will automatically refresh at the set interval.

Jasmine Maven Plugin 1.3.1.0

04 Sep 21:28
Compare
Choose a tag to compare

The full list of changes can be found here.

Here is a quick summary:

  • Published a full maven site for the plugin that includes documentation of all available parameters. Check it out here.
  • Removed the deprecated jasmine:preparePackage goal. Please migrate to wro4j for such functionality.
  • Plugin no longer uses a custom lifecycle so you no longer need <extensions>true</extensions> in your configuration.
  • The jasmine:test goal now runs tests through Jetty the same as jasmine:bdd (see here for proper config if you are using saga-maven-plugin) improving consistency between the goals.
  • Made more variables available to custom spec runner templates and documented those variables here.
  • Improved AMD support which has been documented here. Note the scriptLoaderPath parameter has been deprecated and will be removed in the future.

Jasmine Maven Plugin 1.2.0.0

05 Sep 00:28
Compare
Choose a tag to compare
jasmine-maven-plugin-1.2.0.0

[maven-release-plugin]  copy for tag jasmine-maven-plugin-1.2.0.0

Jasmine Maven Plugin 1.1.0

05 Sep 00:32
Compare
Choose a tag to compare
jasmine-maven-plugin-1.1.0

[maven-release-plugin]  copy for tag jasmine-maven-plugin-1.1.0

Jasmine Maven Plugin 1.0.2 Beta 5

05 Sep 00:36
Compare
Choose a tag to compare
Pre-release
jasmine-maven-plugin-1.0.2-beta-5

[maven-release-plugin]  copy for tag jasmine-maven-plugin-1.0.2-beta-5

Jasmine Maven Plugin 1.0.2 Beta 4

03 Oct 05:04
Compare
Choose a tag to compare
Pre-release
jasmine-maven-plugin-1.0.2-beta-4

[maven-release-plugin]  copy for tag jasmine-maven-plugin-1.0.2-beta-4