Konstantin Vlasenko

An engineer is someone who can make for a dollar what any fool could make for two. – Alan Kay

Category Archives: Fitnesse

Fitnesse and SQL

PowerSlim enables FitNesse tests to be executed directly against a database. All you need is to install the PowerShell SQL Snapin from the SQL 2008 client tools (compatible with SQL 2000, 2005, 2008). Then you can use the Invoke-Sqlcmd cmdlet.

Fitnesse and Network address translation

I have long been using Fitnesse. It is great framework for the Acceptance Testing. There are two approach available right now in the Fitnesse. One is the original FIT approach. And the new one – SLIM. No questions, SLIM is the best way to move forward. Only one thing prevent me to sleeping quietly is [...]

PowerSlim 0.2 available!

I am pleased to announce the PowerSlim 0.2. The main feature of this release is Windows Setup which installs all you need to start doing Acceptance Testing with PowerSlim just in couple of minutes. The Green Demo Suite will start at the end of the setup process. There will be more soon, stay tuned! http://powerslim.codeplex.com/

HOWTO SETUP PowerSlim Step by Step

This instruction is depricated. Use http://vlasenko.org/2011/01/31/how-to-start-with-powerslim/ instead. There is the setup package available from the powerSlim 0.2. It will install all you need (Fitnesse, IronPython, WaferSlim, PowerSlim) to the C:\PowerSlim folder. Use it to get the idea how to setup PowerSlim. Later you can use your own installation of the Fitnesse and/or IronPython. Please be sure [...]

Beyond Acceptance Testing Framework

It looks like there are several acceptance testing frameworks (ATF) available (RobotFramework, Cucumber, Fitnesse on FIT, Fitnesse on SLIM, ZenTest, Concordion). Not sure if each of them are really ATF, but can say that Concordion is not a great choice. Fitnesse is the best ATF I know. But it’s up to you, which way to go. [...]

#Fitnesse;#PowerSlim;Test-Path

Good news:) With Fitnesse + PowerSlim the problem described here can be solved gracefully. You can use Test-Path PowerShell CMDlet: !|script|PowerShell| |check|eval|Test-Path “C:\ExportEmpty\*”|False| |check|eval|Test-Path “c:\ExportNotEmpty\*”|True|

Query File lines

With powerslim you can Query a file. !|script|PowerShell| |eval |!-function get_lines($file){Get-Content $file | % {New-Object PSObject -Property @{Line=$_}}}-!| !|Query:PowerShell|get_lines c:\myfile.txt| |Line| |text at first line| |text at second line|

Hidden table heads feature is the Fitnesse Visual Polymorphism

What you can see in the Fitnesse User Guide You can hide the first row of a table. This allows you to write comment tables that just look like ordinary HTML tables. The complete table still gets executed, the first row is just hidden by a CSS rule. Precede the first row with a ‘#’. [...]

Fitnesse: the results for |check not| for BLANK is confusing me

It is too confusing that the Fitnesse highlight expected [BLANK] in second case. The right exporting folder check execute cmd /c dir /B “C:\ExportEmpty” BLANK check not execute cmd /c dir /B “c:\ExportNotEmpty” [2d1313b9-cfb8-4405-8e5f-91f34b5a1e08 ] expected [BLANK] The best way is to say NOT EXPECTED [BLANK] the script for the page: |check|execute|cmd /c dir /B [...]

Release notes should be tested as well

It is good to have green suite of acceptance tests If something wrong we should get the red test/tests We do not have to get used to the red tests Interesting case have got today. We had started using Fitnesse for acceptance testing 3 years ago. Now we have big test suite (~ 1000 tests) [...]

Follow

Get every new post delivered to your Inbox.