[](https://travis-ci.org/nestorsalceda/mamba)
mamba is the definitive BDD testing framework for Python. Born under the banner of Behaviour Driven Development.
##Overview
```python
from mamba import describe, context
with describe('mamba'):
def it_should_be_tested_with_mamba_itself():
pass
with context('#features'):
def it_supports_example_groups():
pass
with context('#hooks'):
def before_all():
pass
def before():
pass
def after():
pass
def after_all():
pass
with context('#assertion_framework_agnostic'):
def it_should_be_usable_with_plain_assertions():
assert True
def it_should_be_usable_with_hamcrest_style_assertions():
assert_that(True, is_(True))
def it_should_be_usable_with_should_dsl_style_assertions():
True |should| be(True)
def it_should_be_usable_with_sure_style_assertions():
True.should.be.true
expect(True).to.be.true
with context('#test_doubles_framework_agnostic'):
def it_should_be_usable_with_mockito():
stub = mock()
when(stub).is_usable_with_mockito().thenReturn(True)
expect(stub.is_usable_with_mockito()).to.be.true
def it_should_be_usable_with_doublex():
with Spy() as sender:
sender.is_usable_with_doublex().returns(True)
assert_that(sender.is_usable_with_doublex(), is_(True))
assert_that(sender.is_usable_with_doublex, called())
def it_should_be_usable_with_mock():
is_usable_with_mock = Mock(return_value=True)
assert mock()
```
##Contribute
If you'd like to contribute, fork [repository](http://github.com/nestorsalceda/mamba), and send a pull request.
Metadata
Release files for mamba 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mamba-0.1.tar.gz | 4.2 kB | Without provenance | Details for mamba-0.1.tar.gz |
Release files / mamba-0.1.tar.gz
| Download URL | mamba-0.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f2546e5be3f5fe9b5c5138e1354783f3d38c4dd26f8defaadd366ae22f33ec7
|
|
BLAKE2b-256 checksum How to use checksums |
5b9f0907c3dac5afe5b3cd1921df0e89af1ab4c01eeb16341dc118377cb45419
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mamba 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.