You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by bu...@apache.org on 2015/08/27 12:12:27 UTC

svn commit: r963244 [4/4] - in /websites/staging/openwebbeans/trunk/content: ./ misc/ resources/css/ resources/js/

Modified: websites/staging/openwebbeans/trunk/content/testing_test-control.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/testing_test-control.html (original)
+++ websites/staging/openwebbeans/trunk/content/testing_test-control.html Thu Aug 27 10:12:26 2015
@@ -74,8 +74,19 @@
 
 
         <div id="OwbContent_" class="wiki-content">
-<h1 id="testing-your-application-with-apache-deltaspike-test-control">Testing your application with Apache DeltaSpike Test-Control</h1>
-<h2 id="about-test-control">About Test-Control</h2>
+<style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<h1 id="testing-your-application-with-apache-deltaspike-test-control">Testing your application with Apache DeltaSpike Test-Control<a class="headerlink" href="#testing-your-application-with-apache-deltaspike-test-control" title="Permanent link">&para;</a></h1>
+<h2 id="about-test-control">About Test-Control<a class="headerlink" href="#about-test-control" title="Permanent link">&para;</a></h2>
 <p><code>Test-Control</code> is <em>not</em> part of Apache OpenWebBeans but a module of 
 <a href="http://deltaspike.apache.org">Apache DeltaSpike</a>. It is based on another Deltaspike module called <code>CdiCtrl</code>. 
 <code>Test-Control</code> is available in Deltaspike 0.6 and onwards.</p>
@@ -88,7 +99,7 @@ It's a long time recommendation to use
 <p>With <code>Test-Control</code> the few steps you had to do on your own are taken cared of for you. In a way <code>Test-Control</code> 
 However <code>Test-Control</code> though it's fairly new and has no support for TestNG at the moment. It may also be insufficient if you need your own custom 
 extension points or have other complex demands.</p>
-<h2 id="adding-deltaspike-test-control-to-your-project">Adding Deltaspike Test-Control to your project</h2>
+<h2 id="adding-deltaspike-test-control-to-your-project">Adding Deltaspike Test-Control to your project<a class="headerlink" href="#adding-deltaspike-test-control-to-your-project" title="Permanent link">&para;</a></h2>
 <p>The following are the dependencies you need in your Apache Maven pom.xml file in addition to
 OWB itself:</p>
 <div class="codehilite"><pre><span class="nt">&lt;dependency&gt;</span>
@@ -120,11 +131,11 @@ OWB itself:</p>
 
 
 <p>Note that deltaspike-cdictrl-openejb can substitute the deltaspike-cdictrl-owb dependency if you are using TomEE.</p>
-<h2 id="why-use-test-control-for-your-unit-tests">Why use Test-Control for your unit tests?</h2>
+<h2 id="why-use-test-control-for-your-unit-tests">Why use Test-Control for your unit tests?<a class="headerlink" href="#why-use-test-control-for-your-unit-tests" title="Permanent link">&para;</a></h2>
 <p>Test-Control offers the strong testing capabilities of <code>CdiCtrl</code> 
 but let's you focus on writing the actual tests alone. <code>Test-Control</code> is the new lightweight champion for testing CDI and the required setup is very minimal.
 The testing flow is intuitive and follows the principles of other test runners. </p>
-<h2 id="examples-and-getting-started">Examples and Getting started</h2>
+<h2 id="examples-and-getting-started">Examples and Getting started<a class="headerlink" href="#examples-and-getting-started" title="Permanent link">&para;</a></h2>
 <p>This information can be found here <a href="http://deltaspike.apache.org/test-control.html">Deltaspike documentation for Test-Control</a></p>
         </div>