Closed sgtobin closed 3 years ago
Have you tried removing the %p from the command pattern? That seems to introduce defaultPath in the command, which might mess things up.
I haven't tried fitnesse on linux yet but I was able to run fitSharp from terminal:
e.g.
dotnet ~/.nuget/packages/fitsharp/2.7.1.1/lib/netcoreapp3.1/Runner.dll -c sample.config.xml
where sample.config.xml is:
<suiteConfig>
<ApplicationUnderTest>
<AddAssembly>./bin/Debug/netcoreapp3.1/SampleSUT.dll</AddAssembly>
<AddNamespace>SampleSUT</AddNamespace>
</ApplicationUnderTest>
<Settings>
<InputFolder>./tests/in</InputFolder>
<OutputFolder>./tests/out</OutputFolder>
<Runner>fit.Runner.FolderRunner</Runner>
</Settings>
</suiteConfig>
As long as you have mono and java installed, fitnesse works fine in Linux as well. I have run Testcases in Ubuntu using Chrome Browser(with out using docker image of fitnesse).
Start the TestServer: ./launchTestCaseServer.sh which includes java -jar fitnesse-standalone.jar -p 9091 -e 0
For Running Runner executable: mono ./Runner.exe -c SUT.config.xml 9999 where SUT.config.xml has below:
TestSuite should have below global variables defined: !define SLIM_HOST {127.0.0.1} -> IP of Machine where Runner is running !define SLIM_PORT {9999} !define SLIM_POOL_SIZE {1} !define SLIM_VERSION {0.0} !define TEST_SYSTEM {slim} !define MANUALLY_START_TEST_RUNNER_ON_DEBUG {true} !define FILTER_TOC {true}
@sgtobin Is your problem solved for Linux Setup ? or you are still facing same issue or some different issue?
Tested successfully with netcore 3.1 and net 5.0 on linux
Using this Suite.config file
Using the following docker file...
Run the container from powershell
Create the following test...
Get the following error...