lancelot 1.0rc2 "1.0rc2 python2.5"

Provides Python classes and functions to allow BDD-style "given, when, then..." specifications to be made about the behaviour of an object instance, standalone-function or group of collaborating objects (e.g. should_be, should_contain, should_raise, should_collaborate_with); plus the ability to verify that the specifications are met by the underlying code. Branches for both python3 and python2 are maintained.

Milestone information

Project:
lancelot
Series:
python25
Version:
1.0rc2
Code name:
1.0rc2 python2.5
Released:
 
Registrant:
tim b
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
No users assigned to blueprints and bugs.
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
No bugs are targeted to this milestone.

Download files for this release

File Description Downloads

Release notes 

This release is intended to be the last before the final 1.0 release. It includes:
- a Spec class to allow BDD-style specifications (given, when, then...) to be made about the behaviour of an object instance or standalone-function (e.g. should_be, should_contain, should_raise, should_collaborate_with)
- a MockSpec class to allow collaborations with other object instances to be specified
- an @verifiable function decorator to allow specifications to be verified
- an @grouping class decorator to allow specifications to be logically grouped together
- a verify() function to use when verifying one or all verifiable specifications
- a number of Comparable classes to use in specifications
- example code to illustrate the various features
- package, class and method docstrings
- a comprehensive set of specifications for the specification classes themselves

Changelog 

View the full changelog

Since rc1:
- added MockResult class to clarify will_return() behaviour and allow will_raise() statements
- added @grouping class decorator to allow @verifiable specifications to be logically grouped together
- added fail_fast option to verify() function
- added it() method to Spec class
- general code and spec tidying-up
- pylint score above 9.0
- pycoverage at 99%

0 blueprints and 0 bugs targeted

There are no feature specifications or bug tasks targeted to this milestone. The project's maintainer, driver, or bug supervisor can target specifications and bug tasks to this milestone to track the things that are expected to be completed for the release.

This milestone contains Public information
Everyone can see this information.