slim

Test framework for [insert language here]

I am looking for a test framework to introduce automated tests for a language without much test support. As far as I can understand, I need a framework that's capable of running the VDF tests using some form of protocol. I would much rather spend my time writing tests than writing VDF code to interface with the test framework, so a light...

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 load file or assembly 'file:///C:\Path\To\fitnesse\__defaultPath__' Any idea why it...

how do I use fitnesse ActionFixture with C#?

I tried to make an action fixture and it’s not working. (c# with Slim runner) Basically it seems like it's trying to interpret it as a column fixture. |!-Fitnesse.BuyActions-! | |Start|!-Fitnesse.BuyActions-!| |check|total |0.0 | |enter|price |12.00 | |press|buy | |check|total |12...

FitNesse/Slim String Operators

Is it possible to express this in a Query Table in FitNesse with SLIM for .net: contains(data) startswith(data) endswith(data) I know from a previous question it was possible for FitNesse/Fit with cell handler loader. I'm looking for the equivalent in Slim. ...

How do I specify non-scalar parameters in a Slim table?

I want to test functions that have non-scalar parameters and return types, e.g., "given a matrix M, check that M times its inverse is the appropriate identity" or "given a row vector V, check that transpose(V) is the correct column vector. Do I need a clever use of TableTable? ...

Slim .net: How do I debug test fixtures using visual studio?

I've figured out how to run my tests from the commandline using: java -jar fitnesse.jar -c MyFixturePage?test&format=text -d "c:/utils/fitnesse/" -r "FitNesseRoot" Using this as the startup parameters for my Fixture assembly project in visual studio does not work. I'm using the Slim runner and executor in my fixtures : http://github.c...

Fitnesse Slim query test fails while trying to access linq datacontext

I wrote a query that gets a list of objects using linq. The code executes fine in the project, but fails when I try to access it from the fitnesse project. base(global::System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString, mappingSource) I guess it has something to do with the connection strin...

Fitnesse test fails with linq datacontext

My fitnesse tests fail with linq datacontext. I already tried adding a suite.config and then app config to my c:\fitnesse folder - where the .jar file is. I added -c option c:\Fitnesse\suite.config to the command section on the test page. Here's the suite.config file: c:\fitnesse\myapp.config ^.svn$ Here's the myapp.config file: The ...

STA not recognized in Slim (FitNesse)

I wrote a custom table class for Slim that lets users write commands that are used to run automated tests. All commands are now working, except for one that relies on a certain call that has to be made in an STA thread. I was able to solve this issue in Fit by adding STA to the suiteConfig file. However, it looks like adding that to t...

Replace critical section with SRW lock

If the application is targeted on Windows Vista or later, could we replace all critical sections with SRW locks? Since critical section is mutually exclusive, for usage it is equivalent to SRW locks in exclusive mode, right? According to MSDN, SRW is optimized both for speed and space. Is there any drawback for doing this? I'm not sure h...

How to verify data in table using FitNesse/SLIM?

Hi all, I am currently having some doubt in verifying the data in grib control. Given a table with ColumnA and ColumnB, lets assume there are 2 rows of records are generated after some search query is applied. My objective is to ensure the data in ColumnB showing my expectation output, lets assume 'data1' should be shown under ColumnB....