Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This is a basic assert framework wraps native asserts into a compact DSL

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 README.md
Octocat-spinner-32 setup.py
Octocat-spinner-32 unittestzero.py
README.md

Overview

This is a little project to wrap native asserts in Python into a basic DSL so that you don't need to rely on unittest or any other testing framework. This built to be used with py.test. Documentation can be found here.

Example

from unittestzero import Assert


class TestSomethingCool:

    def test_equals(self):
        Assert.equal(1, 1)

How to run the tests against this frame work

Update your PYTHONPATH to the directory and then its a simple py.test . in the the tests folder

Continuous Integration

Build
Status

Something went wrong with that request. Please try again.