Author: sabrashevich
Date: 2007-10-25 07:31:46 -0400 (Thu, 25 Oct 2007)
New Revision: 4506
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/choosingruntime23.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG10a.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG29.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG30.png
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/newproject4.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/newproject5.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/startingfromserversview.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG1.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG2.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/webxmlsource.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/ManageJBossAS.xml
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/testNG.xml
Log:
minor changes
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/choosingruntime23.png
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/choosingruntime23.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/newproject4.png
===================================================================
(Binary files differ)
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/newproject5.png
===================================================================
(Binary files differ)
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/startingfromserversview.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG1.png
===================================================================
(Binary files differ)
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG10a.png
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG10a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG2.png
===================================================================
(Binary files differ)
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG29.png
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG29.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG30.png
===================================================================
(Binary files differ)
Property changes on:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/testNG30.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/webxmlsource.png
===================================================================
(Binary files differ)
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/ManageJBossAS.xml
===================================================================
---
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/ManageJBossAS.xml 2007-10-25
11:29:16 UTC (rev 4505)
+++
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/ManageJBossAS.xml 2007-10-25
11:31:46 UTC (rev 4506)
@@ -212,7 +212,18 @@
</imageobject>
</mediaobject>
</figure>
- <itemizedlist continuation="continues">
+<itemizedlist>
+ <listitem><para>In the next dialog verify a
<property>JBoss</property> runtime information and if something is unfair go
back and correct it.</para></listitem>
+ </itemizedlist>
+ <figure>
+<title>Configuring Projects</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/choosingruntime23.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+ <itemizedlist>
<listitem><para>In the last wizard's dialog modify the
projects that are configured on the server and click
<emphasis><property>Finish</property></emphasis>.</para></listitem>
</itemizedlist>
<figure>
@@ -319,7 +330,7 @@
</mediaobject>
</figure>
<para>The <property>XML Configuration</property> category
allows you to quickly browse to descriptor files in your server's deploy directory
and
- check or change the values. It's use requires the Properties view. Basically,
XML Configuration are XML XPaths where a xpath is a path used to access
+ check or change the values. Its use requires the Properties view. Basically, XML
Configuration are XML XPaths where a xpath is a path used to access
some specific part of an xml document.</para>
<figure>
<title>XML Configuration and Properties View</title>
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/testNG.xml
===================================================================
---
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/testNG.xml 2007-10-25
11:29:16 UTC (rev 4505)
+++
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/testNG.xml 2007-10-25
11:31:46 UTC (rev 4506)
@@ -10,20 +10,20 @@
</chapterinfo>
<title>Using TestNG project</title>
<section>
- <title>What is it TestNG?</title>
+ <title>What is TestNG?</title>
<para><property>TestNG</property> ("Testing, the Next
Generation") is a Java unit testing framework that aims to overcome many
limitations of JUnit.
<property>TestNG</property> introduces some new functionalities
that make it more powerful and easier to use, such as:</para>
<itemizedlist>
- <listitem><para>JDK 5 Annotations (JDK 1.4 is also supported with
JavaDoc annotations).</para></listitem>
- <listitem><para>Flexible test
configuration.</para></listitem>
- <listitem><para>Support for data-driven testing (with
@DataProvider).</para></listitem>
- <listitem><para>Support for
parameters.</para></listitem>
- <listitem><para>Allows distribution of tests on slave
machines.</para></listitem>
- <listitem><para>Powerful execution model (no more
TestSuite).</para></listitem>
- <listitem><para>Supported by a variety of tools and plug-ins
(Eclipse, IDEA, Maven, etc...).</para></listitem>
- <listitem><para>Embeds BeanShell for further
flexibility.</para></listitem>
- <listitem><para>Default JDK functions for runtime and logging (no
dependencies).</para></listitem>
- <listitem><para>Dependent methods for application server
testing.</para></listitem>
+ <listitem><para>JDK 5 Annotations (JDK 1.4 is also supported with
JavaDoc annotations)</para></listitem>
+ <listitem><para>Flexible test
configuration</para></listitem>
+ <listitem><para>Support for data-driven testing (with
@DataProvider)</para></listitem>
+ <listitem><para>Support for
parameters</para></listitem>
+ <listitem><para>Allows distribution of tests on slave
machines</para></listitem>
+ <listitem><para>Powerful execution model (no more
TestSuite)</para></listitem>
+ <listitem><para>Supported by a variety of tools and plug-ins
(Eclipse, IDEA, Maven, etc...)</para></listitem>
+ <listitem><para>Embeds BeanShell for further
flexibility</para></listitem>
+ <listitem><para>Default JDK functions for runtime and logging (no
dependencies)</para></listitem>
+ <listitem><para>Dependent methods for application server
testing</para></listitem>
</itemizedlist>
<para>More information can be found on home page: <ulink
url="http://testng.org">www.testng.org</ulink></para>
@@ -41,7 +41,7 @@
<title>How to use the generated Seam-test project to run Seam tests in Red
Hat Developer Studio</title>
<itemizedlist>
- <listitem><para>Create a new Seam Web Project using New Project
wizard or main menu <emphasis><property>File > New > Seam Web
Project</property>.</emphasis></para></listitem>
+ <listitem><para>Create a new Seam Web Project using New Project
wizard or main menu <emphasis>File > New > Project > Seam
> Seam Web Project</emphasis></para></listitem>
</itemizedlist>
<figure>
@@ -54,7 +54,7 @@
</figure>
<itemizedlist>
- <listitem><para>Name your project and follow the next wizard steps
keeping default settings.</para></listitem>
+ <listitem><para>Name your project and follow the next wizard steps
keeping default settings</para></listitem>
</itemizedlist>
<figure>
@@ -66,8 +66,34 @@
</mediaobject>
</figure>
+<itemizedlist>
+ <listitem><para>Check the needed boxes and click
<emphasis>Next</emphasis></para></listitem>
+ </itemizedlist>
+
+ <figure>
+ <title>New Seam Project Facets</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/testNG29.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+<itemizedlist>
+ <listitem><para>Click <emphasis>Next</emphasis> in the
"Web Module" wizard's dialog</para></listitem>
+ </itemizedlist>
+
+ <figure>
+ <title>New Seam Project Facets</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/testNG30.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+
<itemizedlist>
- <listitem><para>Check <emphasis><property>Server
Supplied JSF
Implementation</property>.</emphasis></para></listitem>
+ <listitem><para>Check <emphasis>Server Supplied JSF
Implementation</emphasis></para></listitem>
</itemizedlist>
<figure>
@@ -80,7 +106,7 @@
</figure>
<itemizedlist>
- <listitem><para>Select <property>EAR</property> next
to <emphasis><property>Deploy as:</property></emphasis>
field.</para></listitem>
+ <listitem><para>Select <emphasis>ear</emphasis> next
to <emphasis>Deploy as:</emphasis> field</para></listitem>
</itemizedlist>
<figure>
@@ -93,7 +119,7 @@
</figure>
<itemizedlist>
- <listitem><para>After project is created you will have the
generated Seam-test project that is setup to run TestNG directly against the proper
libraries and server runtime libraries.</para></listitem>
+ <listitem><para>After project is created you will have the
generated Seam-test project that is setup to run <property>TestNG</property>
directly against the proper libraries and server runtime
libraries</para></listitem>
</itemizedlist>
<figure>
@@ -106,7 +132,7 @@
</figure>
<itemizedlist>
- <listitem><para>Add Seam Action to your project via
<emphasis><property>File > New > Seam
Action</property>.</emphasis></para></listitem>
+ <listitem><para>Add Seam Action to your project via
<emphasis>New > Seam Action</emphasis></para></listitem>
</itemizedlist>
<figure>
@@ -119,7 +145,7 @@
</figure>
<itemizedlist>
- <listitem><para>Fill out the wizard fields. Seam Action wizard
will create resources and place them in the apropriate folders dependent on EAR project
structure.</para></listitem>
+ <listitem><para>Fill out the wizard fields. Seam Action wizard
will create resources and place them in the apropriate folders dependent on EAR project
structure</para></listitem>
</itemizedlist>
<figure>
@@ -131,21 +157,19 @@
</mediaobject>
</figure>
- <itemizedlist>
- <listitem><para></para></listitem>
- </itemizedlist>
-
+ <para>When Action is created you will see it in Package Explorer
view.</para>
+
<figure>
- <title></title>
+ <title>Created Action</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/testNG8.png"/>
</imageobject>
</mediaobject>
</figure>
-
+ <para>Below are generated Java classes:</para>
<figure>
- <title></title>
+ <title>Java Classes</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/testNG9.png"/>
@@ -154,11 +178,11 @@
</figure>
<itemizedlist>
- <listitem><para>Select
<property>ActionLocalTest.xml</property> in Seam-test project and run the test
via right click <emphasis><property>Run As > TestNG
Suite</property>.</emphasis></para></listitem>
+ <listitem><para>Select
<emphasis>ActionLocalTest.xml</emphasis> in Seam-test project and run the test
via right click <emphasis>Run As > TestNG
Suite</emphasis></para></listitem>
</itemizedlist>
<figure>
- <title></title>
+ <title>Run TestNG</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/testNG10.png"/>
@@ -166,39 +190,51 @@
</mediaobject>
</figure>
+ <para>The test process will start and its ouput will be written in Console.
After the messages in the Console tabbed view stop scrollig
<property>TestNG</property> is finished.</para>
+
+
+ <figure>
+ <title>Test is finished</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/testNG10a.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
<itemizedlist>
- <listitem><para>After running TestNG you will have the test
results in <emphasis><property>test-output</property></emphasis>
folder in Seam-test project (press F5 to refresh the Package Explorer view). Open
<property>index.html</property> file with web
browser.</para></listitem>
+ <listitem><para>After running
<property>TestNG</property> you will have the test results in
<emphasis>test-output</emphasis> folder in Seam-test project (press F5 to
refresh the Package Explorer view). Open
<emphasis><property>index.html</property></emphasis> file with web
browser</para></listitem>
</itemizedlist>
<figure>
- <title>Opening test results in web browser</title>
+ <title>Opening TestNG Results in Web Browser</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/testNG11.png"/>
</imageobject>
</mediaobject>
</figure>
-
+ <para>Now you can see the test results in web browser:</para>
<figure>
- <title>Test results</title>
+ <title>TestNG Results</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/testNG12.png"/>
</imageobject>
</mediaobject>
</figure>
-
+ <para>The <property>TestNG</property> information is split up
into two panes in browser. You can select a result on the left-hand pane and its details
will be displayed on the right-hand one.</para>
<figure>
- <title></title>
+ <title>TestNG Information</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/testNG13.png"/>
</imageobject>
</mediaobject>
</figure>
-
+ <para>See the details of the test on right-hand pane:</para>
<figure>
- <title></title>
+ <title>ActionLocal Test Details</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/testNG14.png"/>
Show replies by date