Skip to content

Commit

Permalink
Wagon: Deploying sitegen to repository
Browse files Browse the repository at this point in the history
  • Loading branch information
FuseSource CI committed Apr 3, 2013
1 parent 60d6dd5 commit e8123e0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions building/index.html
Expand Up @@ -167,12 +167,23 @@ <h3 id = "Building_with_GruntJS">Building with GruntJS</h3>

<h2 id = "Running_Unit_Tests">Running Unit Tests</h2>

<p>Once you have a local build (or ideally are using the <em>mvn -Pwatch</em> command to do incremental compiles as you edit the source), you can open the unit test runner via</p>
<p>You can run the unit tests via maven:</p>

<pre><code>cd hawtio-web
mvn test</code></pre>

<p>If you have a local build (or ideally are using the <em>mvn -Pwatch</em> command to do incremental compiles as you edit the source), you can open the unit test runner via the following:</p>

<pre><code>cd hawtio-web
open src/test/specs/SpecRunner.html</code></pre>

<p>This then runs the <a href="https://github.com/hawtio/hawtio/tree/master/hawtio-web/src/test/specs/spec">unit test specificiations</a> using <a href="http://pivotal.github.com/jasmine/">Jasmine</a> in your browser. From this web page you can use the browser's debugger and console to debug and introspect unit test cases as required.</p>
<p>This then runs the <a href="https://github.com/hawtio/hawtio/tree/master/hawtio-web/src/test/specs/spec">unit test specifications</a> using <a href="http://pivotal.github.com/jasmine/">Jasmine</a> in your browser. From this web page you can use the browser's debugger and console to debug and introspect unit test cases as required.</p>

<p>If you are using the <a href="https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei">LiveReload plugin for Chrome</a> you can then hit the LiveReload icon to the right of the address bar and if you are running the watch profile, the tests are re-run every time there is a compile:</p>

<pre><code>mvn -Pwatch</code></pre>

<p>Now the unit tests are all re-run whenever you edit the source.</p>

<h2 id = "Running_the_End-to-End_Integration_Tests">Running the End-to-End Integration Tests</h2>

Expand Down

0 comments on commit e8123e0

Please sign in to comment.