sophisticated automated test library and runner
Project description
The sophisticated automated test tool for Python, featuring a test runner and a library with powerful and flexible assertions.
Originally authored by Gabriel Falcão.
Installing
pip install sure
Running tests
sure tests
For More Information:
sure --help
Documentation
Available on sure.readthedocs.io.
To build locally run:
make docs
Quick Library Showcase
from sure import expects
expects(4).to.be.equal(2 + 2)
expects(7.5).to.be.eql(3.5 + 4)
expects(3).to.not_be.equal(5)
expects(9).to_not.be.equal(11)
from sure import expects
expects({'foo': 'bar'}).to.equal({'foo': 'bar'})
expects({'foo': 'bar'}).to.have.key('foo').being.equal('bar')
"Awesome ASSERTIONS".lower().split().should.equal(['awesome', 'assertions'])
Project details
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
sure-3.0a1.tar.gz
(89.1 kB
view hashes)