testing-conventions 0.0.21

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


def test_home():
    assert route("GET", "/") == "home"


def test_page():
    assert route("GET", "/other") == "page"


def test_create():
    assert route("POST", "/") == "create"