Tried & Tested - Testing Extravaganza

The ongoing search for simple solutions.

Wednesday 25 November 2009

Tool - SpecFlow

Specflow is an OpenSource .Net BDD tool.












The workflow to create a running SpecFlow scenario is as follows:-

1. Add a reference to the TechTalk.SpecFlow DLL in the project that will contain your features.
2. Add feature files, step definitions and event definitions
3. Write a feature specification in the Gherkin format
4. Write step definitions and event definitions in C#
5. Execute generated unit-tests with a unit test runner

More information at - http://www.specflow.org/

Wednesday 18 November 2009

Tool - unlocker

Unlocker is a tool which allows you to 'unlock' and file which is cirrently being used by another process/application on your windows OS.

Unlocker can be downloaded for free from http://ccollomb.free.fr/unlocker/

Sunday 6 September 2009

TIP - Starting And Stopping Selenium Server Automatically

Found a nice article which explains how to start/stop your selenium server automatically using FixtureSetUp and FixtureTearDown of AssemblyFixture.

http://igorbrejc.net/development/cruisecontrolnet/gallio-starting-and-stopping-selenium-server-automatically-during-testing-using-assemblyfixture

TOOL - Nice site to practice regular expressions

At Rubular you can test your regular expressions using a sample string, and the site will show you what matched the expression. Seems a quick and easy way to practice/test your regular expressions.

http://www.rubular.com/

Monday 24 August 2009

Some notes on Slim (getting started)

To use Slim instead of Fit, you need to define Slim as the test system
  • !define TEST_SYSTEM {slim}
Symbols
  • $name= sets the symbol
  • $name uses the symbol
  • $name= also in script tables as first cell$
Decision Tables (aka Slim Column fixture)
  • Check/Check not – value test pass/fail
  • Ensure/Reject - bool test pass/fail
  • Note - comment
  • Show – display result
  • Start – sets up a different system under test
  • Optional constructor arguments after class name

Tuesday 11 August 2009

Free Icons from 37Signals.com

I found some nice, free to use, icons over at 37signals.com.

Tool - Flashmob (simulated load testing)

Just came across the site Flashmob, which is an interesting and easy looking load testing tool.

Basically, you can setup a number of virtual users to run scripts which simulate browser usage on a site. Flashmob uses Selenium to drive the user navigation. You can simply record selenium scripts using Selenium IDE then upload the scripts to flashmob, configure the number of users, usage patterns etc. and click Run.

The testing reports are also very detailed, and include usage graphs with failure numbers, and also links screenshots at the point of failure.

Looks very promising, but it's not free - you will get $100 worth of free credit just for signing up though.

Other Blogs