tasty 0.9.6

A CLI that runs API tests defined and grouped in TOML files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
[test_successful_login]
method = "POST"
route = "auth/login"
payload = { username = "test_user", password = "correct_password" }
expect.http_status = 200
expect.response = { token_type = "Bearer" }

[test_failed_login]
method = "POST"
route = "auth/login"
payload = { username = "test_user", password = "wrong_password" }
expect.http_status = 401
expect.response = { error = "Invalid credentials" }