testing-conventions 0.0.15

Enforce testing conventions in libraries (Python, TypeScript, and Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
from widget import classify


def test_positive():
    assert classify(1) == "positive"


def test_negative():
    assert classify(-1) == "negative"


def test_zero():
    assert classify(0) == "zero"