2 ms·
I created a YAML-based API Testing framework in Rust
- cd-4 6mo agoAre you tired of weighty testing frameworks? Yapitest is simple. Provide data to send to the endpoint, and assert data that comes as response. A test looks as simple as this: ``` test-create-and-get-post: setup: create-user steps: - path: /api/post/create id: create-post method: POST headers: API-Token: $setup.token data: title: Some Title body: Some message assert: status-code: 201 - path: /api/post/$create-post.response.post_id assert: body: title: "Some Title" body: "Some message" ``` More features (regex support, timing assertions) coming soon!
- turtleyacht 6mo agoIs it compatible with Test Anything Protocol?
- cd-4 6mo agoAt this moment no I went with CTRF and I was not aware of TAP! I’ll take a closer look