Giter VIP home page Giter VIP logo

Comments (5)

essenius avatar essenius commented on July 21, 2024

Have you tried removing the %p from the command pattern? That seems to introduce defaultPath in the command, which might mess things up.

from fitsharp.

jediwhale avatar jediwhale commented on July 21, 2024

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>

from fitsharp.

pb1981 avatar pb1981 commented on July 21, 2024

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:

SUT_config

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}

from fitsharp.

pb1981 avatar pb1981 commented on July 21, 2024

@sgtobin Is your problem solved for Linux Setup ? or you are still facing same issue or some different issue?

from fitsharp.

jediwhale avatar jediwhale commented on July 21, 2024

Tested successfully with netcore 3.1 and net 5.0 on linux

from fitsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.