A swagger compatible integration testing tool.
- It's just javascript You can always look at the code. The UI is just a way of visualizing the program.
- Keep it simple, solve a few cases in an amazing way.
- Great at error reporting. Errors should not leave users scratching their head.
- Fast: every action should be quick.
- Generate urls based on "servers"
- Improve body generation by using json-schema
- Add jsonl node logging, with scope recordings
- Visualize
- Detect arguments / pass arguments from the UI
- Save last scope per node
- Run node
- property controls
- surface errors in a nicer way
- open with editor
- run ts watcher -> keep Apibot in sync with code changes
- command + hover => shows scope
- store the fact that policyId is a policy ID
fact("iptiq.policyId",policyId)
- Should allow for testing things like: if x is an "iptiq.policyId", then these properties should hold:
[fetchLightPolicy(x), assertOk()]
[fetchPolicy(x), assertOk()]
[fetchPolicyEvents(x), assertOk()]
This should be useful for catching data corruption cases.
Option 1: implement your own
Useful for:
- Onboarding: Initial generation on
apibot add <>
- Test data generation:
- Bonus: implement your own and add a link on https://json-schema.org/implementations.html. Problem: json-schema spec is incredibly complex.
Use @apidevtools/swagger-parser
Option 2: use
Explore using something like https://github.com/wbkd/react-flow
- Better labels / descriptions.
- Given when then
- Abstractions: naming
- Think about how a new user would "feel" when they are confronted with a huge apibot script.
- No es claro para quien es el valor
- No es claro qué problema se está resolviendo