Showing posts with label test unit. Show all posts
Showing posts with label test unit. Show all posts

Friday, July 22, 2011

filet gem just released!

We finally found some time to finish the work on the gem for acceptance testing - filet. It's available via our employer github account: https://github.com/xing/filet

filet is a dsl for acceptance testing on top of Test::Unit.


Hope you'll find it useful!

Friday, July 1, 2011

RSpec like DSL in Test::Unit for acceptance testing.

I have project where I have to use Test::Unit. Fine, but I am used to RSpec DSL, especially when it comes to user stories (features). So, here is simple module that shows how you easily can use RSpec-like expressions in default testing framework.


Just save that module in a file that will be required by your test helper and include in you test unit spec.


With Test::Unit::Feature you have a simple DSL. Soon we'll publish in on github as a gem. Now it works with Ruby 1.8.7 and Rails 2.3.10. I didn't test it with the latest stuff.

Done with Jorge :)