ASpec
ASpec is a simple library that utilizes aspect oriented programming and meta programming to enable method stubbing, method call counting, Liskov Substition Principle testing and more.
Installation
ASpec is available as a gem. Use this command to install:
gem install aspeclib
More information
See the test cases in lib/aspeclib_test.rb for examples of ASpec.
For more information, see the paper ASpec: Unit Testing Using Aspect-Oriented Programming.