swagger-api / swagger-api/swagger-codegen

[TypeScript] Unit testing for Petstore sample (community contribution)

Open
#1,569 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: TypeScript help wanted
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.