Questions tagged [fitsharp]

fitSharp is a set of open-source web-based functional testing tools for .NET, inspired by the Framework for Integrated Test.

fitSharp is a set of open-source functional testing tools for .NET, inspired by the Framework for Integrated Test ().

fitSharp provides an environment for which allows testing and fixture authoring of code in Microsoft's .NET framework.

fitSharp supports both fit and SLiM-style testing, and is the successor to FitNesse.NET.

63 questions
1
vote
1 answer

Fitnesse - Issues with assemblies config file

Below is the page I have in Fitnesse. I have a .NET class file called TestSuiteFitnesse.DLL and in here are the fixtures to populate the SCRIPT table. We pass in the TT1 and Client Registration variables. We have another .NET class file call…
1
vote
1 answer

Return PASS or FAIL for FITSharp 'Include' pages

I have a test set up in FITSharp that contains an 'include page from current' section as shown below. The main test keeps passing even when the 'included' test page fails (when expanded). Is there a way to force FITNesse to take into account the…
Ibexy I
  • 1,123
  • 6
  • 16
  • 29
1
vote
1 answer

fitSharp unable to find my fixture

I'm new to C#; I'm trying to get fitSharp working with a fixture which always returns a hard-coded string ("hi"). Pretty much no matter what I do, I get "Could not find class fixture.FitNesseDemoFixture". I'm developing with Xamarin community…
Jerry Andrews
  • 847
  • 5
  • 23
1
vote
2 answers

FitNesse App.Config

I am having a hard time understanding: http://www.syterra.com/Fit/AppConfigFiles.html If my application and fixtures are in c:\Projects\App and FitNesse is running from c:\Projects\Sandbox\FitNesse I am assuming c:\mypath\myapp.exe.config would be…
James Armstead
  • 398
  • 1
  • 4
  • 14
1
vote
2 answers

How to test approximate values in Fitnesse

I'm using Fitnesse with FitSharp to run integration tests. I'm using the RowFixture to test a table of numerical results and need to be able to test an approximate value to about 3 decimal places. How can I achieve this? I read somewhere about using…
Charlie
  • 10,227
  • 10
  • 51
  • 92
1
vote
1 answer

Fitnesse slim: Call generic method (fitSharp)

Linux 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64 GNU/Linux Mono 2.10.8.1 (Debian 2.10.8.1-7) (64-bit) glib-sharp 2.12.0.0 FitNesse (v20121220) FitSharp release 2.2 for .net 4.0 I have a C# fixture that contains the following generic…
Tully Ernst
  • 105
  • 1
  • 10
1
vote
1 answer

FitSharp throws a ParseException when an object instance is stored in a slim symbol that is later used in a function call

I store an instance in a slim symbol ($IT) but when I later try to use the instance in a function call I receive a fitSharp.Machine.Exception.ParseException. I think the problem is that FitSharp tries to parse the argument instead of casting the…
Tully Ernst
  • 105
  • 1
  • 10
1
vote
1 answer

How to configure Fitnesse for testing DAL?

I am trying to test method in DAL of my web application with Fitnesse and FitSharp. I am having problems with reading app.config. Getting error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.…
Joe Bobson
  • 1,216
  • 15
  • 19
1
vote
1 answer

FitNesse configuration for dbFit

I have the following page for a FitNesse test: !define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer,FitSharp\fit.dll %p} !define TEST_RUNNER {FitSharp\Runner.exe} !define PATH_SEPARATOR {;} !path…
sduplooy
  • 14,340
  • 9
  • 41
  • 60
1
vote
2 answers

Need simple example of FitNesse SetUpFixture under .NET

I've been trying to implement FitNesse tests for our C# application. I'm using the latest FitNesse jar and the fitSharp .NET 2.2 4.0 libraries. I have been able to successfully use scenarios using Slim. However, in the interests of making tests that…
neontapir
  • 4,698
  • 3
  • 37
  • 52
0
votes
1 answer

.NET 6 System.PlatformNotSupportedException: Microsoft.Data.SqlClient is not supported on this platform With Fitnesse

When creating a new .net 6 project with Microsoft.Data.SqlClient It works fine. But When running through a .net 6 fitnesse project with fitsharp we are getting this error: System.PlatformNotSupportedException: Microsoft.Data.SqlClient is not…
Kieran
  • 612
  • 6
  • 22
0
votes
1 answer

Fitnesse Slim runner cannot load .net 5 assembly: Error extracting manifest import from file (hr = 0x80131018)

Running a test in Fitnesse gives: Could not complete testing: fitnesse.slim.SlimError: Error SLiM server died before Header Message could be read. When using Slim RunnerW.exe to debug my test I get an exception: System.BadImageFormatException:…
Louis Somers
  • 2,560
  • 3
  • 27
  • 57
0
votes
1 answer

Updating FitNesse using Fitsharp, FitVersionFixture. IsStandard not working

I have a question concerning an error I am receiving. I am working on updating my system and FitNesse to .Net 4.0. I am using FitSharp in order to do so. When running through my tests however to check if the update is working properly I am coming…
0
votes
1 answer

calling application functions via fixtures in .Net

I am trying to write fit tests for my SUT. I would like to call stored procs to create data in DB etc before I run the tests. Could anyone please post sample code on how to call application functions via fixtures and connect to DB and call stored…
SystemQA
  • 41
  • 1
  • 4
0
votes
1 answer

Dbfit standalone mode in Fitnesse.NET/fitsharp not working for me

In attempting to upgrade to the latest Fitnesse/fitSharp release for .NET I find that my database actions, written in standalone mode, now fail uniformly. This worked fine with my older Fitnesse installation (without fitSharp). This attempt to…
Michael Sorens
  • 35,361
  • 26
  • 116
  • 172