testing-conventions 0.0.21

Enforce testing conventions in libraries (Python, TypeScript, and Rust).
Documentation
1
2
3
4
5
6
7
8
def route(method, path):
    if method == "GET":
        if path == "/":
            return "home"
        return "page"
    if method == "POST":
        return "create"
    return "not allowed"