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
0
votes
1 answer

FitNesse with JUnit : Execute suites in parallel

I have two FitNesse suits which are mutually exclusive and I want to run them in parallel. As they are invoked from a junit test case, I have written the following piece of code: @Test public void executeFitnesseSuites() { final Class[]…
Darshan Mehta
  • 30,102
  • 11
  • 68
  • 102
0
votes
1 answer

How to test a java class using FitNesse

I have been trying to test my java class using FitNesse tool, but I get some errors: This is my Addition.java public class Addition{ private double firstnum, secondnum; public void setFirstnum(double firstnum){ this.firstnum =…
Jananath Banuka
  • 2,951
  • 8
  • 57
  • 105
0
votes
1 answer

Fitnesse & XPath - Count() does not return an integer, returns the list instead

When using Fitnesse, Slim and the Browser Testing framework I was given the challenge to count the amount of items within an ordered list (simplified): 1 2 3 I found that one of the counting methods: |check…
eymas
  • 105
  • 2
  • 15
0
votes
1 answer

Authentication in Fitnesse not working for WebPages

I had created a FitnesseAuthentication.txt with following text: !fitnesse.authentication.HashingCipher admin:UqKBNj590CeI3kOLiZXL And I used this file while running the fitnesse server as follows: java -jar fitnesse-standalone.jar -r /wiki -e 0 -a…
Suchita
  • 55
  • 1
  • 9
0
votes
1 answer

How to use a runtime variable in FitNesse

Let's say I have the following FitNesse page: !| com.myproject.fitnesse.fixtures.SSHFixture | | set host | ${hostSi1} | | set port | ${port} | | set user | ${user} | | connect | | show | run command | pwd | | disconnect | www..com The…
skymedium
  • 767
  • 7
  • 26
0
votes
1 answer

How can we get the results of assertion in Slim/Fitnesse

We have a fitnesse / slim table where in the fourth instruction is my assertion for the test case.is there a way we can get the result of this particular method as Pass or Fail. For example !|Fixture| |method1|method2|method3|**method4**| |res …
0
votes
1 answer

Script table using SLIM fitNesse tool

If i tried to run a givwenzen script using FitNesse SLIM getting error that givwenzen class is not picked up. May be some class path error. If anyone could help me with an example of givwenzen Even with the addition of two numbers. Thanks in…
jasbir malik
  • 11
  • 1
  • 5
0
votes
1 answer

Fitnesse NullPointer at SheetCommandBase.java:152

We have a fitness test where in we check the data from Database. The Database is Postgres and the columns are in quotations e.g. SELECT * FROM "MYTABLE_ONE" WHERE "ID" = 123456; When I execute the Script in HSQL tool it returns no records but…
Yejin
  • 541
  • 2
  • 15
  • 32
0
votes
1 answer

Fitnesse wiki Page Metadata is not being retained across server restarts

I am facing the following issue that I am not seeing so much discussed on forums. It would be great if someone can help out and tell me what I may be doing wrong! ISSUE: The wiki page level metadata keeps coming up as a struck through bunch of text…
ufo2mstar
  • 1
  • 4
0
votes
1 answer

Fitnesse: beginner error

I am starting with Fitnesse, and try to Test the following: !define TEST_SYSTEM {slim} !path C:\Users\binF\java |import| |org.magmax| |multiplication| |factor|factor|multiply?| |4|2|8| |44|12|8| I have the file multiplication.class in the…
user123043
  • 121
  • 5
0
votes
1 answer

Fitnesse Maven Classpath error

I am trying to set up Fitnesse on my current project. pom.xml configuration has: org.fitnesse fitnesse
RDM
  • 1,136
  • 3
  • 28
  • 50
0
votes
2 answers

Could not invoke constructor

I am getting an error Could not invoke constructor. All my class paths are proper. The Division Fixture actually used to work but now is broken. I have never gotten My Selenium FitNesse to work. Any Ideas? Wiki: Code: package…
0
votes
1 answer

FitNessse Test can not find Fixture

I have written following Fixture and FitnessTest for that fixture, but somehow FitNesse is not able to find the Fixture. I simply provide username and password (blank intentionally), and then check for languagecode, countrycode, and variantcode for…
Ragini
  • 1,509
  • 7
  • 28
  • 42
0
votes
1 answer

Have files in Fitnesse folder /files when lauching in local (or CI)

I have a fixture that take a file from my Fitnesse server and do treatment on it and check the result. I want to have this file locally with the same path http://fitnesseonserver/files/society/01-Upload/Test1/myfile.xml to…
0
votes
0 answers

Error executing slim fitnesse test case

I'm getting following error when executing test case in fitnesse: The instance decisionTable_0.setFirst. does not exist Below link has the screenshot: https://github.com/unclebob/fitnesse/issues/1078 Below is the fixture java code: package…