fitnesse

Fitnesse for Delphi 2006 / Delphi 2007 /Delphi 2009

Is there a version of Fitnesse that works on Delphi 2006/2007/2009 ? If so where can I find It? Are there any other programs like Fitnesse that work on Delphi 2006 ? ...

Start seleniumRC from Fitnesse

I'm trying to integrate running Fitnesse tests from MSBuild im my nightly build on TFS. In an attempt to make it self contained I would like to start the seleniumRC server only when it's needed from fitness. I've seen that there is a "Command Line Fixture" but it's written in java can I use that? ...

Formatting data in a Fitnesse RowFixture

I've got a Fitnesse RowFixture that returns a list of business objects. The object has a field which is a float representing a percentage between 0 and 1. The consumer of the business object will be a web page or report that comes from a designer, so the formatting of the percentage will be up to the designer rather than the business o...

FitNesse Wiki Per Project or Company?

For a company with many development projects, should you create multiple FitNesse wikis (one for each project/product) or contain them all within a large wiki for everything? Advantages of one large wiki is the ability to easily link to other products in the company and that it is a one-stop location for all the FitNesse tests. Alterna...

How do I use an ArrayFixture in FitNesse?

I'm having a hard time getting an array fixture to work. Origanlly the test was written as a rowfixture, Requirements later changed and now the order of the results matters. It seems you have to pass the data into the base arrayfixture constructor but I don't see how that is possible or how you pass arguments into the arrayfixture. If...

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? ...

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 wiki pages lie under the fitnesse program folder. Fitnesse seems to have its own versio...

Fitnesse - Can I make an existing wiki page a subwiki ?

I am trying to create a test suite of some of the existing pages I have developed using fitnesse. Does the tool support to change or refactor the pages to sub-wikis to make a part of newly created test suite? ...

How to capture only part of an id?

I'm trying to capture the id of an element that will be randomly generated. I can successfully capture the value of my element id like this... | storeAttribute | //div[1]@id | variableName | Now my variable will be something like... divElement-12345 I want to remove 'divElement-' so that the variable I am left with is '12345' so th...

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: | storeAttribute | //pathToMyElement@id | myId | | echo | ${!-myId-!} | | When I run the test...

Selenium: Is it possible to concatenate an xpath with a variable?

The xpath of my elements are becoming extremely hard to read. //div[@id='main_content']/div[2]/div[2]/div[2]/div[4]/table/tbody/tr[2]/td/form/fieldset/p[1]/input It would be nice if I could store most of that as a variable and use it later like this: | assertElementPresent | ${myForm} . /fieldset/p[1]/input | Is something like this p...

Selenium Fitnesse Bridge: How do I store and echo a variable?

I'm using the Selenium Fitnesse Bridge Fixture in order to write tests in Fitnesse for Selenium. It's great because it covers ALL the functions that Selenium has. However, the problem I'm running into is storing variables like I would in Selenium IDE. | !- fixtures.SeleniumFixture -!| | setup | http://www.google.com/ | *chrome /usr/lib/...

Fitnesse- Error refactoring a page

HI, Everytime I try to refactor a page I get the following error- Cannot rename FitNesse.StoreProcedure to TestSuite.StoreProcedure TestSuite.StoreProcedure is not a valid simple page name. Due to this I am having trouble creating a test suite. Any help will be appreciated. ...

Selenium: How do I use javascript to clear a value from a form field?

I'm using the selenium IDE and the Selenium-Fitnesse Bridge fixture and I'm trying to test that when I clear a default value out of a form field, my form displays an error message. So when I record with the Selenium IDE, what it does is the equivalent of telling Selenium to type nothing. | type | text_field | | The problem with this ...

Can someone help explain Fit Testing to me?

So this is something that has been at the back of my mind for a while. I've seen mentions of it, I've read the fitness web page and I still don't quite grok it. It seems like Fitnesse is yet another testing framework like NUnit or MbUnit or any of the others because you define inputs and outputs that you want to see but it seems to b...

Fitnesse RestFixture on Linux

I've been using the RestFixture in Fitnesse to test a REST service which is running under Tomcat. When Fitnesse is run on Linux (Redhat to be precise) the fixture doesn't pass any querystrings to Tomcat (the log entries prove this). However, the exact same fixture running through Fitnesse on a Windows machine works as expected. Has anyo...

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 should anyone Fit/FitNesse? Update So it's totally suitable for business-rules tests only? ...

Can I add color to FitNesse test table cells?

I would like to be able to add coloured backgrounds to FitNesse table cells (sometimes entire rows) to enhance their readability. I'm happy if these colours are overwritten when a test page is run. Is there a way to do this? ...

How to call a WCF service from FitNesse

When calling a WCF service from a console app, asp.net app, wpf/winform app, you have to have a app.config or web.config file for the WCF service endpoint information. But from FitNesse, I'm calling a fixture which is a .dll (class library) and this fixture is calling my WCF service. It can't call the service because I can't include th...

FitNesse configuration files

I'm using FitNesse as a functional testing framework. I'm running into trouble when FitNesse runs code that needs configuration. If I need to get a connection string from the configuration file, I can get it to work by adding it to the FitServer.exe.config. However, I don't like that solution. I would like FitNesse to load my own config...