lancelot 1.0
A behaviour-driven specification and verification library
lancelot allows class and function behaviour to be specifed and verified using a DSL-like syntax, for example:
@verifiable
def 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)
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
|
lancelot-1.0-py2.5.egg
(md5)
Python2.5 version! |
Python Egg | 2.5 | 2009-03-11 | 84KB | 763 |
|
lancelot-1.0-py3.0.zip
(md5)
Python3 version! |
Source | 2009-03-11 | 42KB | 1005 | |
- Author: tim bacon
- Home Page: http://withaherring.blogspot.com/
- Keywords: BDD, TDD, specification, verification
- License: GNU Lesser General Public License v3 (LGPL v3)
- Platform: Windows,Linux,Solaris,Mac OS-X,Unix
- Provides lancelot
-
Categories
- Development Status :: 5 - Production/Stable
- Environment :: Console
- Intended Audience :: Developers
- License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
- Natural Language :: English
- Operating System :: OS Independent
- Programming Language :: Python :: 2.5
- Programming Language :: Python :: 3
- Topic :: Software Development :: Build Tools
- Topic :: Software Development :: Documentation
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: Software Development :: Quality Assurance
- Topic :: Software Development :: Testing
- Topic :: Utilities
- Package Index Owner: prime8
- DOAP record: lancelot-1.0.xml
