This is a basic assert framework wraps native asserts into a compact DSL
Switch branches/tags
Pull request Compare This branch is 29 commits behind AutomatedTester:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
README.md
setup.py
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

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