Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #3816
Closed
Open
Issue created 5 years ago by Administrator@rootContributor
  • New related issue

  • Report abuse to administrator

  • New related issue

  • Report abuse to administrator

[REQ] [Dart] Add testing of generated client to CI

Closed

[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:
    • https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/test/java/org/openapitools/codegen/dart
Tasks
0

No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

Linked items
0

Link issues together to show that they're related. Learn more.

Activity


Please register or sign in to reply
0 Assignees
None
Assign to
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
Due date
None
None
None
Time tracking
No estimate or time spent
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

Lock issue
Unlocked
0
0 participants
Reference: OpenAPITools/openapi-generator#513