Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There are automated tests for the generated Ruby client #49

Open
5 tasks
izgeri opened this issue Dec 4, 2020 · 3 comments
Open
5 tasks

There are automated tests for the generated Ruby client #49

izgeri opened this issue Dec 4, 2020 · 3 comments

Comments

@izgeri
Copy link
Contributor

izgeri commented Dec 4, 2020

The project has integration tests for the generated Ruby client using the currently implemented API endpoints.

AC:

  • Current specification routes are tested
    • All auto-generated API test method stubs are filled in
    • Ruby tests are located in tests/ruby
    • Ruby integration tests can be run via the integration_tests script
    • The set of Ruby tests should be able to be ran on their own, with a start script located at tests/ruby/start
    • Ruby tests are ran inside of a Docker container
@john-odonnell
Copy link
Contributor

@izgeri Picked this up to work on while my API testing plan is reviewed.
The OpenAPI generator tool does not generate test method stubs for all languages they support, Ruby being one of them, so these will have to be cooked up from scratch.

@izgeri
Copy link
Contributor Author

izgeri commented Dec 9, 2020

ok - I wonder whether @BradleyBoutcher and @telday think this is worth picking up

@john-odonnell john-odonnell removed their assignment Dec 9, 2020
@telday
Copy link
Contributor

telday commented Dec 9, 2020

@john-odonnell The generator actually does generate test method stubs for Ruby. They are in the spec directory because they use Ruby's spec suite for testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants