Once fitnesse is runing the wiki has al the info you need to run and configure it. Start fitnesse with the following command
-p 8090 is the port number with wiki will be available on
This is the TDD(Java, C# and VB) home page for your knowledge base space within Confluence. Here you will find code samples, tips n tricks as well as short tutorials. We outline a series of labs that are all TDD based. It starts with two duplicate exercises one will be using JUnit the other fitnesse. The purpose of the duplication is to clearly demonstrate TDD using something like fitnesse. |
Start fitnesse with the following command
!contents -R2 -g -p -f -h !define TEST_SYSTEM {slim} !path c:\\work\\software\\eclipse_jee\\string-manipulator\\target\\string-manipulator-0.0.1.jar |import | |com.celestial.strings| |String Concatenator | |Left Hand String|Right Hand String|Combined String?| |Hello |World |!-HelloWorld-! | |
package com.celestial.sm; /** * * @author Selvyn */ public class StringConcatenater { private String lhData; private String rhData; public void setLeftHand( String val ) { lhData = val; } public void setRightHand( String val ) { rhData = val; } public String Output() { StringConcatenaterImpl impl = new StringConcatenaterImpl(); return impl.addStrings(lhData, rhData); } } |
package com.celestial.sm; /** * * @author Selvyn */ public class StringConcatenaterImpl { public String addStrings( String lh, String rh ) { return lh + rh; } } |
|