LancelotA behaviour-driven specification and verification library | |
Download |
Lancelot Ranking & Summary
Advertisement
- License:
- LGPL
- Price:
- FREE
- Publisher Name:
- Tim Bacon
- Publisher web site:
- http://withaherring.blogspot.com/
Lancelot Tags
Lancelot Description
A behaviour-driven specification and verification library lancelot is a Python module that allows class and function behaviour to be specifed and verified using a DSL-like syntax, for example:@verifiabledef can_peek_and_pop_after_push():spec = Spec(Stack, given=new_stack)spec.when(spec.push(value='a'))spec.then(spec.peek()).should_be('a')spec.then(spec.pop()).should_be('a')spec.then(spec.peek()).should_raise(IndexError)spec.then(spec.pop()).should_raise(IndexError) Requirements: · Python
Lancelot Related Software