Skip to content

Commit

Permalink
Merge pull request #339 from amplify-education/fix_intrgation_tests
Browse files Browse the repository at this point in the history
Fix integration tests and make them run faster
  • Loading branch information
aoskotsky-amplify committed May 15, 2020
2 parents 79ff4ce + 9c5ac1c commit 8dfa46a
Show file tree
Hide file tree
Showing 30 changed files with 8,608 additions and 2,330 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ npm install
```

## Writing Integration Tests
Unit tests are found in `test/unit-tests`. Integration tests are found in `test/integration-tests`. Each folder in `tests/integration-tests` contains the serverless-domain-manager configuration being tested. To create a new integration test, create a new folder for the `handler.js` and `serverless.yml` with the same naming convention and update `integration.test.js`.
Unit tests are found in `test/unit-tests`. Integration tests are found in `test/integration-tests`. Each folder in `tests/integration-tests` contains the serverless-domain-manager configuration being tested. To create a new integration test, create a new folder for the `handler.js` and `serverless.yml` with the same naming convention and update `integration.test.ts`.

## Changing API Types
AWS API Gateway has three different API types: REST, HTTP, and WebSocket. Special steps need to be taken when migrating from one api type to another. A common migration will be from a REST API to an HTTP API given the potential cost savings. Below are the steps required to change from REST to HTTP. A similar process can be applied for other API type migrations.
Expand Down

0 comments on commit 8dfa46a

Please sign in to comment.