Skip to content

Instantly share code, notes, and snippets.

# How would you rather write your tests?
# Tell it to @garybernhardt (or gary.bernhardt@gmail.com)
# 1) Hypothetical RSpec-inspired Python library (PSpec?) that does violence to nature
with describe('my class'):
with it('adds numbers'):
sum = MyClass.add(1, 1)
sum.should == 2
# Actually, I think the only acceptable name for the above library would be "withit"