Python Testing Framework
Project description
# Dr Serpent Documentation
## Description:
Dr Serpent 🐍 in an easy to use testing framework for Python focusing on Behaviour Driven Development and Test Driven Development processes.
## Example:
```python
# file
def run():
return 1 + 1
# test_file
def test_number():
Expect(run(2)).to_equal(2)
```
## How to use:
#### [Click Here](https://pypi.org/project/drserpent/) to visit the PyPi URL.
#### View DrSerpent [documentation](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md).
#### [Getting Started](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#getting-started)
#### [Compulsory Conventions](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#conventions)
### Matchers:
- [`to_equal`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_equal)
- [`to_be_truthy`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_be_truthy)
- [`to_be_falsey`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_be_falsey)
- [`to_be_none`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_be_none)
- [`to_be_greater_than`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_be_greater_than)
- [`to_be_less_than`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_be_less_than)
- [`to_include`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_include)
- [`to_not_include`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_not_include)
- [`to_output_to_stdout`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_output_to_stdout)
- [`to_throw_error`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_throw_error)
## Contributors:
* [Alex McCarroll](https://github.com/AlexMcCarroll)
* [Ricky Hewitt](https://github.com/rewitt94)
* [Tom Betts](https://github.com/T-Betts)
* [Hemesh Unka](https://github.com/Hemesh-Unka)
## How to contribute to this project:
See [CONTRIBUTING.md](https://github.com/DrSerpent/DrSerpent-Core/blob/master/CONTRIBUTING.md)
## Licence:
Distributed under the terms of the [MIT](https://github.com/DrSerpent/DrSerpent-Core/blob/master/LICENSE.txt) license, DrSerpent is free and open source software.
## Description:
Dr Serpent 🐍 in an easy to use testing framework for Python focusing on Behaviour Driven Development and Test Driven Development processes.
## Example:
```python
# file
def run():
return 1 + 1
# test_file
def test_number():
Expect(run(2)).to_equal(2)
```
## How to use:
#### [Click Here](https://pypi.org/project/drserpent/) to visit the PyPi URL.
#### View DrSerpent [documentation](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md).
#### [Getting Started](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#getting-started)
#### [Compulsory Conventions](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#conventions)
### Matchers:
- [`to_equal`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_equal)
- [`to_be_truthy`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_be_truthy)
- [`to_be_falsey`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_be_falsey)
- [`to_be_none`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_be_none)
- [`to_be_greater_than`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_be_greater_than)
- [`to_be_less_than`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_be_less_than)
- [`to_include`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_include)
- [`to_not_include`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_not_include)
- [`to_output_to_stdout`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_output_to_stdout)
- [`to_throw_error`](https://github.com/DrSerpent/DrSerpent-Core/blob/master/DOCUMENTATION.md#to_throw_error)
## Contributors:
* [Alex McCarroll](https://github.com/AlexMcCarroll)
* [Ricky Hewitt](https://github.com/rewitt94)
* [Tom Betts](https://github.com/T-Betts)
* [Hemesh Unka](https://github.com/Hemesh-Unka)
## How to contribute to this project:
See [CONTRIBUTING.md](https://github.com/DrSerpent/DrSerpent-Core/blob/master/CONTRIBUTING.md)
## Licence:
Distributed under the terms of the [MIT](https://github.com/DrSerpent/DrSerpent-Core/blob/master/LICENSE.txt) license, DrSerpent is free and open source software.
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
drserpent-2.7.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for drserpent-2.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b53a47bac17fb0b47917d3ea06881ddbab3700ab5b25280144c90a2562880a |
|
MD5 | 1403cce9e020df5d08acc538084ea5c1 |
|
BLAKE2b-256 | 20e066208a21a512ab63a48c2e5a1d6942f3bffadb4372b84e1509a6a6b4eb21 |