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.

62 questions
0
votes
1 answer

Is it possible to access Slim symbols from code with FitSharp?

According to FitSharp issue 123 it wasn't possible to in July 2014. I was wondering if this has changed in the years since.
Simon Tewsi
  • 13,627
  • 17
  • 73
  • 85
0
votes
1 answer

Running FitNesse tests stored in variable

I'm trying to get FitNesse (slim tests running via fitSharp) to process tables stored in a variable. Both approach A & B below render the same on the page, but only approach B will run. Approach A !define test ( | Table:myTest | someValue…
Christoph
  • 3,928
  • 3
  • 22
  • 37
0
votes
1 answer

In FitNesse is it possible to share variables or data between Java and FitSharp test pages?

I've got what I assume is a fairly common scenario: I want to test a web service via FitNesse while also being able to inject and read data from the database behind the web service. For example, I'd like to do the following: 1) Save a record…
Simon Tewsi
  • 13,627
  • 17
  • 73
  • 85
0
votes
1 answer

In FitNesse how can I run suite setup code for one suite only?

I want to run some suite setup code at the start of a particular suite. As I understand it a suite will run a SuiteSetUp page that is its sibling (ie next to it, in the same folder). However, that would mean the same SuiteSetUp page would also be…
Simon Tewsi
  • 13,627
  • 17
  • 73
  • 85
0
votes
2 answers

How to debug Fitnesse setup

I'm using Fitnesse with CleanCodeFixtures from Michael Sorens article, Acceptance Testing with Fitnesse. I presume the code is right, the Fitnesse pages are right, and that it is something with my setup. OVERVIEW Michael's Fitnesse pages refer to…
BWhite
  • 533
  • 4
  • 19
0
votes
1 answer

Fitnesse cannot find class unless it has a wiki page

I'm running into some odd behavior when trying to setup an ActionFixture test using Fitnesse (with FitSharp as the test runner) When creating an actionFixture I'll get an error that the class (Namespace.TestClassName in example below) cannot be…
Christoph
  • 3,928
  • 3
  • 22
  • 37
0
votes
1 answer

Test value of a HashSet in a FitNesse table cell?

Using FitNesse with FitSharp (.Net), I've got a property of an object that is a HashSet of an enum, e.g. public enum Fubar { Foo, Bar } public class Test { public HashSet SetOfFubar { get; set; } } I'd like to test it simply, for example…
Mike Scott
  • 11,769
  • 7
  • 37
  • 51
0
votes
1 answer

Run fitnesse test out of MSTest or NUnit or console application in Visual Studio

I debug fitnesse test next way: I run fitnesse webserver. Go to test page in browser Run test. RunnerW.exe opens. I ReAttach to it. I press Go. I want to speed up this cycle. Is next way possible and how? E.g. run MSTest or NUnit or Console…
Dzmitry Lahoda
  • 827
  • 1
  • 11
  • 33
0
votes
1 answer

How to set Fitnesse variables in query string

I'm currently setting up Fitnesse, with FitSharp and the .net implementation of dbfit. I understand how to trigger tests or suites from the submission of a URL, or from a command line, eg: java -jar fitnesse-standalone.jar -c…
ms10
  • 83
  • 1
  • 8
0
votes
1 answer

Using the Suite Config with Fitnesse

I am trying to use a Suite Configuration File with FitSharp. I am use the exact format that this page lays out, however, every time I try to access it, I get the following error: fitSharp.Machine.Exception.TypeMissingException: Type 'AppDomainSetup'…
Kyle
  • 884
  • 1
  • 8
  • 20
0
votes
1 answer

How to get FitNesse root or page folder in FitSharp

Recently I encountered this problem and have searched a lot but no solution by now. Does somebody know how I can get the root directory or the page folder of FitNesse in FitSharp fixture codes? One of the troubles is that we have a lot of existing…
Zhong Zhu
  • 83
  • 6
0
votes
0 answers

FitSharp error while invoking test

I am using fitsharp for invoking an acceptance test. The code has compiled perfectly and when run from Visual Studio, runs without any problem. But when I invoke the same test from Fitnesse, it throws up an error "Cannot find the file…
Sanjit Misra
  • 159
  • 1
  • 8
0
votes
2 answers

Fitnesse trying to load "defaultPath" as assembly

I am trying to specify a custom converter to Slim by specifying a suite configuration. When I manually append ?test (the button doesn't appear for some reason), I get the following exception: __EXCEPTION__:System.IO.FileNotFoundException: Could not…
Richard Szalay
  • 78,647
  • 19
  • 169
  • 223
0
votes
2 answers

FitSharp FormatException when running tests

I installed a clean version of Fitnesse (v20121220) and the latest version of FitSharp (.net 4). I've created a fitnesse test page but cannot get the tests to run - whenever I try, the tests immediately fail with the following stack trace in the…
Isaac Abraham
  • 3,082
  • 1
  • 20
  • 25
0
votes
1 answer

FitSharp could not load fit.PrimitiveFixture from assembly fit

I have been trying to migrate over to FitSharp after we upgraded our project to .NET 4.0 however I am currently stuck with the error: System.TypeLoadException: Could not load type 'fit.PrimitiveFixture' from assembly 'fit, Version=2.2.4498.25494,…
Jens
  • 3,113
  • 1
  • 20
  • 25