Repository files navigation
The Problem with End-to-End Testing
Setting up
3A pattern: Arrange, Act, Assert, Cleanup
Imposters: virtual services, a lightweight operation
Hello imposter
Run: [Command line]
Create: [HTTP, file]
Delete: [HTTP]
Saving multiple Imposters in the config file
EJS
Using predicates to send different responses for different requests
Simplifying predicates on JSON request bodies
Using XPath to simplify predicates on XML request bodies
Day 3: Behavior and Programming mountebank
Creating Your Own Predicate
Creating your own Dynamic Response
Understand behaviors
Decorating a response
Adding latency to a Response
Repeating a Response Multiple Times
Replacing Content in The Response
Setting up a proxy
Generating the Correct Predicates
Capturing multiple responses for the same request
Ways to Replay a Proxy
HTTPS
CORS: Cross-origin resource sharing
Stub the Legacy Service
The --datadir option
Setup and Install Mountebank
Node.js
mb
npm: npm install -g mountebank
yarn: yarn global add mountebank
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.