Skip to content

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

This branch is 29 commits behind AutomatedTester:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.