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. |
d04a40e to
1f427a6
Compare
7ecb7d9 to
a2a6084
Compare
|
Well fog has lifted massively. Current baseline: Combination of schema patches ( which are all conserved as artifacts for upstream patch proposals! ) and real improvements ( replacing deprecated api client calls ) allowed to raise numbers up to a point i am quite happy with. Will take a look at the three remaining |
No description provided.