Questions tagged [fitnesse]

FitNesse is an acceptance testing framework.

FitNesse is a wiki based testing framework and software development collaboration tool. It allows software teams to easily collaborate and define Acceptance Tests and to Run those tests and see the results.

FitNesse is authored in Java, and supports two types of test systems, known as and Slim .

FitNesse test behavior is driven through the development and use of components called fixtures, which are typically coded by developers or QA engineers. Fixtures are required to build the domain-specific language in which testers can model tests. Through this level of indirection, many tests can be accessible to, and written by, non-technical users.

Although written with native Java in mind, FitNesse also supports test fixtures written in through the use of another open source project, .

712 questions
47
votes
7 answers

Are BDD tests acceptance tests?

Do you need something like Fitnesse, if you have BDD tests?
pondermatic
  • 6,147
  • 8
  • 44
  • 57
36
votes
4 answers

How do I add fitnesse pages to version-control?

What is the recommended practice? Should I add the my sub-folder under the fitnesse folder to version control? Context: working on a single developer rails pet project. I've my rails project under version-control (Subversion) however my fitnesse…
Gishu
  • 126,803
  • 45
  • 214
  • 298
29
votes
4 answers

Error java.lang.RuntimeException: Stub! in Android with Fitnesse testing

I'm trying to create a test fixture using Fitnesse framework, and I want to test a function which retrieves data from a server (RESTFUL service). My test case is very simple: public class FriendListActivityFixture extends ColumnFixture { public…
Chan
  • 12,569
  • 40
  • 99
  • 152
26
votes
7 answers

How do I setup FitNesse for use with .NET?

I'm trying to get started with FitNesse for .NET on Windows Vista. In all tutorials I find on the web I'm told to execute the run.bat file, but all i get when downloading the latest release is a .jar-file. When i run this, the filestructure is…
Fredrik
  • 261
  • 1
  • 3
  • 3
24
votes
4 answers

Why Fit/FitNesse?

What's the point of using Fit/FitNesse instead of xUnit-style integration tests? It has really strange and very unclear syntax in my opinion. Is it really only to make product owners write tests? They won't! It's too complicated for them. So why…
Artem Tikhomirov
  • 20,413
  • 10
  • 43
  • 66
11
votes
1 answer

Spock vs FitNesse

I've been looking into Spock and I've had experience with FitNesse. I'm wondering how would people choose one over the other - if they appear to be addressing the same or similar problem space. Also for the folks who have been using Spock or other…
KumarM
  • 1,631
  • 1
  • 18
  • 26
10
votes
3 answers

How can I expire all my sessions in Tomcat?

I would like to expire all my sessions in Tomcat. We test our product under Fitnesse and some sessions remain and the end of the session causes dependency between the tests. I do it by hand with the following code, but some sessions remain (I can…
Jean-Philippe Caruana
  • 2,530
  • 4
  • 23
  • 46
9
votes
5 answers

How do I put preformatted text into a FitNesse fixture table cell?

I want to be able to put preformatted text (i.e. containing line breaks) into a single cell of a FitNesse fixture table. Is there a way to manipulate the FitNesse wiki markup to do this?
Matthew Murdoch
  • 28,946
  • 26
  • 89
  • 125
9
votes
2 answers

Selenium vs Fitnesse

Wondering how Selenium and Fitnesse fit into the arsenal of a software tester. Where is it appropriate to apply these tools? Do they overlap, or are they complementary? Would be great if someone could put these tools into context.
user479911
8
votes
3 answers

Fitnesse - Standard fitSharp configuration problem with .NET 4

I have been using Fitnesse.NET for some time and am now attempting to upgrade to the newer fitSharp engine. I immediately ran into a roadblock though. Starting with a fresh system, I downloaded the latest fitnesse.jar and executed/installed it; all…
Michael Sorens
  • 32,325
  • 20
  • 111
  • 165
8
votes
3 answers

How do regular expressions work in selenium?

I want to store part of an id, and throw out the rest. For example, I have an html element with an id of 'element-12345'. I want to throw out 'element-' and keep '12345'. How can I accomplish this? I can capture and echo the value, like this: |…
Andrew
  • 196,883
  • 184
  • 487
  • 673
7
votes
2 answers

step by step tutorial for using slim fitnesse in .net

anybody knows some step by step tutorial for using slim fitnesse in .net ? for now I managed to run the slim fitnesse website on my localhost:3434 and I unziped the fitSharp plugin in c:/fitSharp but I have no idea what's next
Omu
  • 64,955
  • 87
  • 259
  • 396
7
votes
1 answer

FitNesse: workflow of creating tests using RestFixture

Newbie to FitNesse, I want to test Rest APIs using RestFixture but did not know where to start. Can someone give me step by step workflow and the sample decision table for GET, POST, and DELETE requests? We use JSON responses, how can I input them…
sample
  • 71
  • 1
  • 2
7
votes
3 answers

Fitnesse test against empty string result

I'm using Fitnesse SliM and I want to check if the result of a fixture is the empty string. Leaving the result field in Fitnesse empty just results in an ignored test which is obviously not what I want. I could solve this by extending the fixture…
Maurits Rijk
  • 9,175
  • 2
  • 31
  • 50
7
votes
3 answers

Using FitNesse rather than NUnit

As I've understood it, there's a couple of cases when you may want to use FitNesse. You want to do acceptance testing rather than unit testing. You want to use it as a communication tool with the stake holder. You want to do large scale tests…
SteveN
  • 71
  • 2
1
2 3
47 48