lancelot 1.0
pip install lancelot
Latest version
Released:
A behaviour-driven specification and verification library
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Library or Lesser General Public License (LGPL) (GNU Lesser General Public License v3 (LGPL v3))
- Author: tim bacon
- Tags BDD, TDD, specification, verification
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Project description
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)
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Library or Lesser General Public License (LGPL) (GNU Lesser General Public License v3 (LGPL v3))
- Author: tim bacon
- Tags BDD, TDD, specification, verification
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lancelot-1.0-py3.0.zip
.
File metadata
- Download URL: lancelot-1.0-py3.0.zip
- Upload date:
- Size: 43.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d6933865f589e10a88fa65b81b7f64484a38b54b4c7b74fd480599b480b7d2a |
|
MD5 | b440d17fc9a805861fc0398da98165c7 |
|
BLAKE2b-256 | 39a029f54a9853bab5d5b9dbebf400aaf0abb5201547645dcb99fa85882136c0 |
File details
Details for the file lancelot-1.0-py2.5.egg
.
File metadata
- Download URL: lancelot-1.0-py2.5.egg
- Upload date:
- Size: 86.1 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 185d68b9186cb001550dcf833e08a7f8c7069117a25be897ee07b08f37771473 |
|
MD5 | d382b706f8338b8e387290185259e69a |
|
BLAKE2b-256 | 2970a51964600616b23c985d096ee6333d3d9de518ef53deab0664bbd6a35779 |