Stoobly / stoobly-agent

Record, mock, and test HTTP/HTTPS requests. CLI agent for Stoobly.
Other
6 stars 0 forks source link

[Option] Support fixtures #225

Closed Jvlythical closed 2 months ago

Jvlythical commented 2 months ago

Problem

Static assets are often ignored, yet it is still desired to provide mocks for them.

Change

Add the following options to run command: --response-fixtures-path: On mock not found, check if request path regex matches a fixture path --public-directory-path: On mock not found and fixture not found, check if path exists inside this folder