Questions tagged [fitnesse-slim]

The SLIM test system of the FitNesse test framework

The SLIM test system provides an acceptance test authoring and execution framework. It is one of two test systems supported by the FitNesse test framework - the other is the original Fit test system. See http://fitnesse.org/FitNesse.UserGuide.SliM

170 questions
1
vote
1 answer

Flow mode with SLIM fixtures

I'm wondering is there is a way to use multiple kinds of tables with SLIM (as opposed to FIT) in one test and keeping the context of the same instance of the test class (the harness around the system under test). With FIT you can enter flow mode by…
Christoph
  • 4,251
  • 3
  • 24
  • 38
1
vote
2 answers

How do I load a customcomparator in a fitnesse test

I created a custom comparator for Fitnesse, and attempted to load it, but I can't get it to work. It's just completely ignored in my script table, and it does a direct string equality comparison. Comparator: package com.company; import…
user814005
  • 413
  • 2
  • 4
  • 12
1
vote
1 answer

Connect dbslim with Fitnesse

I'm trying to connect to a database from Fitnesse, but it keeps giving an error message. I'm using dbslim of MarkFink: https://github.com/markfink/dbslim the message I keep getting is: Could not invoke constructor for DbSlimSetup this is my current…
tijnn
  • 406
  • 1
  • 8
  • 24
1
vote
1 answer

Writing a test for the Maven fitnesse plugin

I just installed the fitnesse-launcher-maven-plugin from uk.co.javahelp.fitnesse and I can see it runs fine. Now I'd like to write some tests and have them seen and executed during the build. My pom.xml file contains the following plugin: …
Stephane
  • 11,836
  • 25
  • 112
  • 175
1
vote
1 answer

Fitnesse Scenario library local to Suite level not oncluded

I have my test cases in Fitnesse suite. I have created a Scenario Library local to the suite. But inside the test page its not getting loaded. here is my Structure My Tests Contents Test1 Test2 Suite1 ScenarioLibrary Test1 So under Test1,…
Zach
  • 9,989
  • 19
  • 70
  • 107
1
vote
2 answers

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…
Boroda
  • 195
  • 1
  • 7
  • 23
1
vote
2 answers

Example of how StringFixture works

Can someone provide an example of how to use FitNesse String Fixture? The following doesn't work: |fitnesse.fixtures.StringFixture| |value|expected|contains? | |hello|lo |true | To provide context I'm trying to verify the…
softbear
  • 485
  • 6
  • 16
1
vote
0 answers

How do I specify non-scalar parameters in a Slim table?

I want to test functions that have non-scalar parameters and return types, e.g., "given a matrix M, check that M times its inverse is the appropriate identity" or "given a row vector V, check that transpose(V) is the correct column vector. Do I need…
Greg Bacon
  • 134,834
  • 32
  • 188
  • 245
1
vote
1 answer

How to connect to a remote slim server using fitnesse

I want to use my slim server remotely with fitnesse but it doesn’t work because the fitnesse always want start the slim server locally. The problem: On hostA there is a standalone fitnesse server (started from command prompt with „java -jar…
1
vote
1 answer

'NoClassDefFoundError' for Maven dependency with FitNesse

I'm using FitNesse Slim to do some simple POST/GET requests. I'm using Maven as my dependency management system. I get the following error message when I try to run my Fixture. __EXCEPTION__:java.lang.NoClassDefFoundError:…
FilmiHero
  • 2,306
  • 7
  • 31
  • 46
1
vote
2 answers

Fitnesse eclipse project root path

I am using eclipse and I kept FitnesseRoot inside a project structure. Now, I want to have relative paths to my classfiles. Hows should I do it? For eg:I have something like !path h:/workspace/proj/WEB-INF/lib/*.jar !path…
suraj_fale
  • 978
  • 2
  • 21
  • 53
1
vote
0 answers

How to make Fitnesse fork a new process for every test when run the suite

I am using Fit library with custom fixtures. I see that it is the same SUT java process exists for all of the tests under the test suite. Each of the tests in suite is a making a connection to the TcpServer. If run as a suite I see the port blocked…
Kedarnath
  • 260
  • 1
  • 3
  • 13
1
vote
3 answers

Clear html from fitnesse tables

How to clean html code from fitnesse table cells? For example, I've created a table and highlighted a cell as a new one: |Table: my custom table |Header1|Header2| |!style_add[new value]|value| And when method doTable is called in MyCustomTable…
Shoff
  • 19
  • 3
1
vote
1 answer

How to rerun only failed tests with FitNesse?

I am unable to figure out how to filter out tests based on their run statuses in FitNesse. I'm commenting out all the passed tests manually so that the next run can ignore them. How can I only rerun failed tests?
1
vote
4 answers

How to write fitnesse code for a method which accepts 2 parameters

I'm newbie to fitnesse and trying to run a simple calculator class which has "add" method accepting 2 parameters and returning the result. Can anyone help me to write the firnesse code for this, my method is as below public int add(int a, int b) { …
user85
  • 1,526
  • 5
  • 26
  • 42