Re-enable integration tests - #762
Conversation
|
@mfal As announced, this is something that I had difficulties with. In the current setup (Jest + ts-jest), oclif seems to have issues Any thoughts? Footnotes |
8f08d0b to
2d31255
Compare
|
@martin-helmich brought this one back to life ( to make it a draft then 😆 ). tl;dr : Use mockoon ( or something else ) plus already prepared environment variable switch to alter mittwald API base URL. This would allow real HTTP requests to run during tests, no mocking for that needed. By altering and specializing the mockoon schema we could provide HTTP responses matching our test cases ( if an example response does not fit already ). |
2d31255 to
8e0fe12
Compare
|
Getting somewhere: Failed commands mostly come from missing arguments, the command discovery misses some. |
No description provided.