swagger-api / swagger-api/swagger-codegen
[TypeScript] Unit testing for Petstore sample (community contribution)
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Similar to Unit Testing for Petstore client in other programming languages, we also need unit testing for TypeScript (angular and node) to test the Petstore so as to ensure code changes do not break the existing functionality of the TypeScript API client.
Currently, we're looking for community contribution. If you need help to get started, please let me (@wing328) know. Thanks in advance.
Ruby Test: https://github.com/swagger-api/swagger-codegen/tree/master/samples/client/petstore/ruby
PHP Test: https://github.com/swagger-api/swagger-codegen/tree/master/samples/client/petstore/php/SwaggerClient-php
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TypeScript Petstore client samples for Angular and Node, then compare their test organization with samples/client/petstore/ruby and samples/client/petstore/php/SwaggerClient-php. Add unit-test coverage for both TypeScript clients and verify that the tests exercise existing Petstore API-client functionality without regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, node.js, typescript
- Domain
- api, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100