fitnesse

Slim .net: How do I debug test fixtures using visual studio?

I've figured out how to run my tests from the commandline using: java -jar fitnesse.jar -c MyFixturePage?test&format=text -d "c:/utils/fitnesse/" -r "FitNesseRoot" Using this as the startup parameters for my Fixture assembly project in visual studio does not work. I'm using the Slim runner and executor in my fixtures : http://github.c...

Fitnesse Slim query test fails while trying to access linq datacontext

I wrote a query that gets a list of objects using linq. The code executes fine in the project, but fails when I try to access it from the fitnesse project. base(global::System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString, mappingSource) I guess it has something to do with the connection strin...

Problems making a fitnesse test...

Hello everyone!! I´m trying to do this test on fitnesse, but actually it inserts only the first one (|Execute|INSERT INTO restdb.labels (id, label_name) VALUES (1, "label_test1")|) Apparently the other are ignored... I´ve debugged it using eclipse and I´m checking everything on HEIDSQL. !2 Add Credit to account !3 Insert the entities ...

Fitnesse test fails with linq datacontext

My fitnesse tests fail with linq datacontext. I already tried adding a suite.config and then app config to my c:\fitnesse folder - where the .jar file is. I added -c option c:\Fitnesse\suite.config to the command section on the test page. Here's the suite.config file: c:\fitnesse\myapp.config ^.svn$ Here's the myapp.config file: The ...

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 code, but I wonder if this can be handled within Fitnesse itself. ...

FIT-like testing in the .Net world

I managed to get FIT up and running using fixtures implemented in C#. I really like the concept, but the infrastructure does not fit in my environment. FIT and source code management do not work together easily and having a Java server up and running to execute the tests is also not very nice. Does anybody know similar tools which are b...

Fitnesse with .NET gets mysteriously stuck when running suites

( Of course I can state this is "mysterious" because I have not been able to identify the problem. I am hoping it will be obvious to one of you erudite readers and that you can enlighten me :-) Running a single fitnesse test in my browser (FireFox or IE) works fine, but when I run a suite of tests or a suite of suites, Fitnesse just sto...

Parsing Xhtml strict documents with RestFixture

Hello, I have an xpath like //xhtml:title[text()='Page Title'] and am getting an error from RestFixture that reads java.lang.IllegalArgumentException: Cannot extract xpath '//xhtml:title[text='Page Title']' from the document When I remove the from the document and the xhtml namespace from the xpath string it works fine. When I do...

How do you create an "empty" FitNesse site

I'm trying to start a blank FitNesse akin to what Uncle Bob did here: http://vimeo.com/2765514 I'm using release 20100303 and I cannot find how to prevent an entire "Welcome to FitNesse" site to expand whenever I use the -d switch. Here's what I'm doing on Windows: java -jar fitnesse20100303/fitnesse.jar -e 0 -p 8888 -d content I'm ...

How To Reference External Classes in Fitnesse

I have two jar files. MyProduct.jar (The business logic) MyProductFixture.jar. (The fixture that calls the bl) The MyProductFixture.jar has a dependency on MyProduct.jar. When I try to run fitnesse calling the fixture in MyProductFixture, I get a ClassNotFoundException for a class in MyProduct.jar. Attempting to set the -classpath...

STA not recognized in Slim (FitNesse)

I wrote a custom table class for Slim that lets users write commands that are used to run automated tests. All commands are now working, except for one that relies on a certain call that has to be made in an STA thread. I was able to solve this issue in Fit by adding STA to the suiteConfig file. However, it looks like adding that to t...

Fitnesse deployment practices.

Is there some documentation on the best ways to organize the deployment of Fitnesse for use in projects? I have many questions: How should it be stored? Should the whole fitnesse root be stored in SVN? How do you deal with acceptance tests that span multiple svn repositories? We have some code that runs only on linux (server) and othe...

Reverse Proxy Apache to FitNesse server

Apache/Ubuntu/Proxy What is the correct configuration to reverse proxy FitNesse from one apache web server to another server running FitNesse through Jetty? This is an all Ubuntu/Lucid/Apache setup. I have tried mod_proxy and mod_proxy_html and I get back the text, but none of the CSS and formatting come through. My setup is something...

Cannot create ADODB.Connection with complicated programming chain

Ok so this is a really complicated problem, I will try my best to explain. We have a c++ application which communicates with Sql Connection like so: CoCreateInstance(_T("ADODB.Connection")) This works fine. We recently made all of our backend code into a Com Object. If I write a Vb program to load our Com Object and do some database...

Can we recover a deleted page from FitNesse via revision tab?

I moved one of the FitNesse Page to another one. I found that I moved it to the wrong place. I went to that wrong path and deleted that page. As I moved the original page, I am not able to locate that. Can anybody has any idea of recovering a deleted page? ...

Why use FitNesse when the tests are highly technical?

It seems to me FitNesse has the following advantages: Let a non-technical person define sets of test data and expected results (how they define success). A non-technical person could be a user, a product manager, or possibly a software quality professional who does not have access to the source code and/or does not know how to program ...

FitNesse Error: Could not find fixture

Hi, I am trying to build few tests using the FitNesse framework in Java. For some reason, I get an error "Could not find fixture: script" when I try to use the script table. I am sure I have all the libraries configured in my classpath. Searching in Google doesn't have much information. Any pointers would be very helpful Thanks, Javid...

How to customize the HTML generated by FitNesse?

Is it possible to customize the output of FitNesse? For example, the SLIM version's output puts a span with class="passed" in the output. I'd like to put the class either on the enclosing td or enclose the span with a div and put the class on that. ...

Testing XML with FitNesse Automation Framework.

We have the scenario to pass the XML file as input to the applications and validate the schema and transactions, Is there any FitNesse fixture framework available to simulate this? ...

Resetting all global internal state of the net-snmp library from the Python bindings

I'm trying to create automated integration tests for this hardware+software test subject which runs a SNMP agent as it's command interface. Our test setup looks like this: We're using Fitnesse as a test runner and PyFit to be able to write the tests in Python. We then use netsnmp with Python bindings to send SNMP commands. This works pre...