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
8
votes
3 answers

Fitnesse - Standard fitSharp configuration problem with .NET 4

I have been using Fitnesse.NET for some time and am now attempting to upgrade to the newer fitSharp engine. I immediately ran into a roadblock though. Starting with a fresh system, I downloaded the latest fitnesse.jar and executed/installed it; all…
Michael Sorens
  • 32,325
  • 20
  • 111
  • 165
5
votes
2 answers

Fitnesse : How to run specific tests across multiple Test suites

We use Fitnesse [FitSharp] and we have a requirement for a single fit test that will call and run individual tests that span multiple suites. I know we could put it in a batch file and run individual tests from there C:\Fitnesse\dotnet4\Runner.exe…
Liam
  • 1,217
  • 2
  • 17
  • 30
4
votes
1 answer

How to integrate Fitnesse with Autofac/IOC?

When Fitnesse instantiates a fixture, it looks for a default public constructor. However, I would like to constructor inject whatever application services I want to consume in the fixture. I.e. I would like to write my fixture this this... public…
NeedHack
  • 2,885
  • 3
  • 28
  • 42
3
votes
4 answers

How to set symbol with a constant value in FitNesse using FitSharp

I want my FitNesse test setup code to look like something like this, to simulate a drag and drop interaction on a hierarchy menu: $SalesCubeID = 1 $ProductNodeID = 3 $DropTargetID = 4 |script | hierarchy | |selectNode; |…
GarethOwen
  • 5,817
  • 5
  • 33
  • 54
3
votes
1 answer

DoFixture error: Trying to follow fitSharp tutorial

I'm trying to follow along in the free ebook "Test Driven .NET Development With FitNesse: Second Edition" from http://gojko.net/fitnesse/book/ The HelloWorld example works great, but 2nd example (page 41) always fails with an error…
nonot1
  • 2,628
  • 4
  • 23
  • 41
3
votes
1 answer

FitNesse / FitSharp - Read columns of ColumnFixture dynamically

I am using the FitNesse / FitSharp (c#) for testing purposes. I can create normal fixture like ColumnFixtures, RowFixtures, DoFixtures etc. but not I am looking for a way to read columns and bind them dynamically. The reason for this is, I still…
NiceGuy
  • 133
  • 1
  • 14
3
votes
1 answer

Calling methods on System Under Test

When using DoFixture I can set a domain object as System Under Test which allows me to call methods on that object instead of the fixture itself. Unfortunately, if such a method requires more than one parameter I have to separate those parameters…
3
votes
1 answer

How can I adjust the CommandTImeout in DbFit for long running queries?

Is there any way to increase the CommandTimeout for DbFit queries? I have a long running stored procedure that times out when running it in a DbFit Test. It's possible for the procedure to run for a really long time (processing millions of records)…
Ben Farmer
  • 665
  • 1
  • 6
  • 14
3
votes
1 answer

FitNesse value comparison fails even though the actual and expected is the same

I run a function in SQL Server that returns some calculated values. When testing the results in FitNesse using dbFit it claims that the values are not the same (see the screenshot below). The values are returned as floats and fails on the…
sduplooy
  • 12,740
  • 9
  • 39
  • 59
3
votes
1 answer

Unable to find assembly FluentNHibernate when mapping Component while running Fitnesse test

I have run into a very weird issue. I have several working Fitnesse tests which insert data in a database, then test my full MVC application stack. When I try to add 2 Component property mappings to my entity map, I get an error saying "Unable to…
3
votes
1 answer

Facebook Login with Selenium for C#

I've been playing with the Selenium C# framework and been trying to do a facebook login, but without any luck. This is what i got so far (based on this post: Testing a Facebook Connect application using Selenium?). I can't get it to work…
David
  • 101
  • 2
  • 15
2
votes
1 answer

FitNesse: Test that an element is not in a list?

I'm using FitSharp to test an application and have a question related to testing contents of lists. Testing that an element is present in a list is simple to do using, for example, a SubsetFixture and could be written as this: | Check that element…
Jonas
  • 3,657
  • 2
  • 19
  • 24
2
votes
2 answers

Using Symbols in FitSharp

I'm trying to use Symbols in my .NET FitNesse fixtures, using the last version of FitSharp (release.1.8.net.40.zip), like this: !|Player Registers | |username|password|player id?| |john |test123 |>>player | The symbol, "player", is…
Marcel de Castilho
  • 5,764
  • 2
  • 18
  • 18
2
votes
1 answer

In FitNesse is it possible to override settings configured in the root page?

The root page in FitNesse is a great place to add configuration which can be used by every page. Things like defining the test system or test runner. Is there any way of overriding those settings, though, for a single test page or for a test…
Simon Tewsi
  • 13,627
  • 17
  • 73
  • 85
2
votes
3 answers

FitClient: external process terminated before a connection could be established

On executing a simple Fitnesse test, I am getting the error : "FitClient: external process terminated before a connection could be established." On the Fitnesse server, the error is: "software caused connection abort socket write error" .Net…
SystemQA
  • 21
  • 1
  • 4
1
2 3 4 5