Giter VIP home page Giter VIP logo

Comments (7)

jediwhale avatar jediwhale commented on July 21, 2024

What versions are you using for FitNesse, fitSharp? Net Core or Net Framework? Windows or Linux?

from fitsharp.

EffectiveAgileDev avatar EffectiveAgileDev commented on July 21, 2024

Thanks for responding.
FitNesse - 20200501
fitSharp - 2.2.net.35 and 2.2.net.40
Both Net Core and Net Framework. Windows 10

Just trying to get an old Hello World to work first. Maybe I just missed something. Here is the test...

!define TEST_SYSTEM {slim} !define SLIM_PORT {8065} !define COMMAND_PATTERN {%m -r fitSharp.Slim.Service.Runner,C:\Fitnesse\dotnet2_2_40\fitsharp.dll } !define TEST_RUNNER {C:\Fitnesse\dotnet2_2_40\Runner.exe} !path C:\Fitnesse\CodeSamples\SlimExamples\slim_example3\bin\Debug\slim_example3.dll

|Import |
|slim_example3|

|First Test |
|string1|string2|Concatenate?|
|Hello |World |Hello World |

from fitsharp.

jediwhale avatar jediwhale commented on July 21, 2024

There was a change in 2019 to fix a problem with Slim communication, which may have broken older releases. With FitNesse 20200501, please try fitSharp 2.7.1 or later. Or if you have to stay with fitSharp 2.2, try to find an old version of FitNesse with a similar release date.

from fitsharp.

EffectiveAgileDev avatar EffectiveAgileDev commented on July 21, 2024

Thanks again, Mike. Still no joy. Got 2.7.1. Import in the page runs, so it finds the .dll. The error is could not find class. I have two now. Double checked spelling and all the normal stuff. Any ideas? Here is my test page...

!define TEST_SYSTEM {slim}
!define SLIM_PORT {8065}
!define COMMAND_PATTERN {%m -r fitSharp.Slim.Service.Runner,C:\Fitnesse\fitsharp-2_7_1\fitsharp.dll }
!define TEST_RUNNER {C:\Fitnesse\fitsharp-2_7_1\Runner.exe}
!path C:\Fitnesse\CodeSamples\SlimExamples\slim_example2\bin\Debug\slim_example2.dll

|import |
|slim_example2|

|Should I Buy Milk |
|cash in wallet|credit card|pints of milk remaining|go to store?|
|0 |no |0 |no |
|10 |no |0 |yes |
|0 |yes |0 |yes |
|10 |yes |0 |yes |
|0 |no |1 |no |
|10 |yes |2 |no |

from fitsharp.

EffectiveAgileDev avatar EffectiveAgileDev commented on July 21, 2024

I found the samples I built for classes in the summer of 2018. They all work on that computer. However, when I copy them over to the current laptop, I get the same error. Go figure.

from fitsharp.

jediwhale avatar jediwhale commented on July 21, 2024

I ran the sample and it works when I put %p in the COMMAND_PATTERN

!define COMMAND_PATTERN {%m -r fitSharp.Slim.Service.Runner,C:\Fitnesse\fitsharp-2_7_1\fitsharp.dll %p}

from fitsharp.

EffectiveAgileDev avatar EffectiveAgileDev commented on July 21, 2024

Thanks for all your help, Mike. My bad. Or as some clients told me years ago, ID10T. Simple coding error. The test class must be public.

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.