Scenario based api mocking support by grunt-ng-apimock


How does it work?

It's very easy. Each line represents is an expression that matches a http call.
By selecting a scenario, the call will not go through to the backend, but will return the matching response for the selected scenario.


Howtos

Howto write mocks
Howto serve selected mocks


Currently the following mocks have been detected

Expression Method Name Scenario Echo
{{mock.expression.toString()}} {{mock.method}} {{mock.name}}

Currently the following global variables have been detected

Key Value Options