[REQ] [Dart] Add testing of generated client to CI
Created by: nickmeinhold
Is your feature request related to a problem? Please describe.
Currently CI runs the generated tests that are part of the petstore client library, but these are all empty passing tests.
Describe the solution you'd like
It would be helpful to have a reasonable set of tests that are run by the CI in order to have confidence that any fixes/enhancements to the dart generator haven't broken things.
Describe alternatives you've considered
It would be great to get input on how to proceed, we could:
- edit the dart generator to include tests in the output client libs (probably limit to tests everyone would want in the lib, eg. no platform specific tests)
- run separate tests (potentially in a staging environment) by test apps that import the client lib
- a combination of the above
Additional context
- there is a set of tests at
samples/client/petstore/dart2/petstore
that are not currently run in CI- several fail when run in my local environment
- seems that stubbed server responses would solve most of the problems though
- currently all dart testing is done on Drone, see
CI/.drone.yml
- EDIT: just found this too, not sure how it fits in yet: