Modified:
/wiki/DeveloperGuide.wiki
=======================================
--- /wiki/DeveloperGuide.wiki Thu Nov 18 05:25:48 2010
+++ /wiki/DeveloperGuide.wiki Thu Dec 9 07:01:02 2010
@@ -14,7 +14,7 @@
# Start developing
----
== Give Back ==
- # Write JUnit / [DeveloperGuide#JSFUnit JSFUnit] tests for ANY
modification/enhancement *(No test, no change...)*
+ # Write JUnit / [DeveloperGuide#Arquillian Arquillian] tests for ANY
modification/enhancement *(Changes get accepted faster with tests!)*
# If you're using Eclipse, please use the
[http://prettyfaces.googlecode.com/svn/tools/eclipse/ocp_code_format.xml
OCP Code Formatter]. Nobody likes merging white space changes!
* *Committers:*
# Commit to a branch if you want a review, or the work is in progress.
@@ -27,17 +27,16 @@
* *Releasers:*
# Perform the [Releasing Release].
----
-== JSFUnit ==
- # Learn about [http://jboss.org/jsfunit JSFUnit]
- # Check out the test project:
- `https://prettyfaces.googlecode.com/svn/trunk/prettyfaces-tests`
+== Arquillian ==
+It's almost as easy as writing a basic unit test!
+ # Learn about [http://jboss.org/arquillian Arquillian]
+ # cd prettyfaces/`
# Run the maven build:
`mvn -U clean install`
- # Create your test Class files: com.ocpsoft.pretty.test.YourTestCase
(See existing tests in the test package for examples)
- # Deploy the WAR file to an servlet container or app-server (Tomcat,
JBoss, Etc)
- # Access the url:
-
`http://localhost:8080/prettyfaces-tests/ServletTestRunner?suite={com.ocpsoft.pretty.test.YourTestCase}`
- # Verify Results (Sometimes tests will fail if a large batch is run at
once. Try splitting into separate test Class files.)
+ # `cd tests-jsf2`
+ # Create your test Class files: com.ocpsoft.pretty.test.YourCaseTest
(See existing tests in the test package for examples)
+ # `mvn clean test`
+ # Verify Results
----