Fitnesse: Testing was interrupted and results were incomplete. Test Pages:

I am new to fitness. I am creating a test using the link https://schuchert.wikispaces.com/FitNesse.Tutorials.1 . But when I start, I get the following error.

Testing was interrupted and the results were incomplete. Test pages: 0 is correct, 0 is incorrect, 0 is ignored, 0 exceptions Claims: 0 is right, 0 is incorrect, 0 is ignored, 0 are exceptions (0.052 seconds) The fit test system failed: java.lang.NullPointerException

Kindly help.

+5
source share
2 answers

I recently saw this error when using DbFit version 3.1.0, which uses FitNesse v20140903 under the hood. I solved this by adding the following to my root page ...

!define COMMAND_PATTERN {java -cp %p %m} 
+3
source

Before the first test table, you should add three important lines:

 !define COMMAND_PATTERN {%m %p} !define TEST_RUNNER {C:\Probjects\HelloWorld\binary\NetRunner.Executable.exe} !path C:\Probjects\HelloWorld\bin\Debug\FitNesseHelloWorld.dll 

The command template is described first (for Java - {java -cp% p% m}) The second path to the runner (I'm not sure if this is required for the Java application) The third has a path to your test library (to your jar file)

https://github.com/imanushin/NetRunner/wiki/Create-the-first-test

I could catch this error in my local environment. Check the path to your Runner, because the same error is displayed if the path is incorrect.

+1
source

Source: https://habr.com/ru/post/1200082/


All Articles