Originally posted by Don Kiddick:
Am I right in thinking that FitNesse is basically a Wiki where you can describe test cases, and record the expected results. These can be tested manually. Then at a later date you can add a Fixture so that they can be tested automatically.
Yes, you should run them as part of your continuous integration process, but probably not as often as you run the unit tests (because acceptance tests may take significantly longer to execute than unit tests and because the pass/fail status of acceptance tests is likely to change less frequently than that of unit tests).Originally posted by Don Kiddick:
Once you have your automatic tests, do you run them as unit tests. e.g. every hour for continous integration ?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Don Kiddick:
Is there anything else I've missed ?
Once you have your automatic tests, do you run them as unit tests. e.g. every hour for continous integration ?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
That's pretty much it although I haven't heard of anyone actually executing the not-yet-automated test cases manually (sounds feasible, though).
I typically run unit tests every couple of minutes locally.
Originally posted by Don Kiddick:
Do you use a tool for that ?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Don Kiddick:
I don't see much advantage of FitNesse over unit testing then...apart from the communication aspect of the wiki. Or am I missing something ?
Maybe the communication aspect is the key thing. In the examples I saw the acceptance tests included a walkthrough of the test - how you would execute the test manually. Is this the case ?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
A customer can't create new TestCase classes when she wants to add new acceptance tests.
Originally posted by Lasse Koskela:
I believe Ilja is referring to clicking the "Run" button in Eclipse...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Don Kiddick:
[QB]
I don't see much advantage of FitNesse over unit testing then...apart from the communication aspect of the wiki. Or am I missing something ?
Author of <a href="http://www.amazon.com/exec/obidos/ASIN/1932394230/ref=jranch-20" target="_blank" rel="nofollow">JUnit Recipes: Practical Methods for Programmer Testing</a>
Hi! I want to use fitnesse but not yet comvinced enough. Is it the distributed version of unit testing or functional testing? I'm working on a large application. Where should I start?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]