Skip to content

Package test framework #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# Codewars Test Framework for Python


## Example

```python
from solution import add
import codewars_test as test

@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')
```
1 change: 1 addition & 0 deletions codewars_test/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .test_framework import *
File renamed without changes.
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from setuptools import setup

setup(
name="codewars_test",
version="0.1.0",
packages=["codewars_test"],
license="MIT",
description="Codewars test framework for Python",
install_requires=[],
url="https://github.com/Codewars/python-test-framework",
)