Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c333503

Browse files
committed
Package test framework
1 parent 5e959d8 commit c333503

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
11
# Codewars Test Framework for Python
2+
3+
4+
## Example
5+
6+
```python
7+
from solution import add
8+
import codewars_test as test
9+
10+
@test.describe('Example Tests')
11+
def example_tests():
12+
@test.it('Example Test Case')
13+
def example_test_case():
14+
test.assert_equals(add(1, 1), 2, 'Optional Message on Failure')
15+
```

codewars_test/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .test_framework import *
File renamed without changes.

setup.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from setuptools import setup
2+
3+
setup(
4+
name="codewars_test",
5+
version="0.1.0",
6+
packages=["codewars_test"],
7+
license="MIT",
8+
description="Codewars test framework for Python",
9+
install_requires=[],
10+
url="https://github.com/Codewars/python-test-framework",
11+
)

0 commit comments

Comments
 (0)