Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 1.73 KB

README.md

File metadata and controls

64 lines (47 loc) · 1.73 KB

Codewars Test Framework for Python

Installation

pip install git+https://github.com/codewars/python-test-framework.git#egg=codewars_test

Basic Example

import codewars_test as test
from solution import add

@test.describe('Example Tests')
def example_tests():

    @test.it('Example Test Case')
    def example_test_case():
        test.assert_equals(add(1, 1), 2, 'Optional Message on Failure')