Set up Reqnroll for BDD testing

This commit is contained in:
Aaron Po
2026-01-29 20:28:50 -05:00
parent 45f64f613d
commit 24b059ea3d
5 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
Feature: NotFound API
As a client of the API
I want consistent 404 responses
So that consumers can handle missing routes
Scenario: GET error 404 returns NotFound message
Given the API is running
When I GET "/error/404"
Then the response status code should be 404
And the response JSON should have "message" equal "Route not found."