-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(integration): classify types of tests, run integ in test:all (#4647
) * test(integration): ec2 integ tests, classify integ tests, run integ in test:all * test(client-ec2): refactor ec2 e2e tests * test(middleware-sdk-rds): add RDS integration tests
- Loading branch information
Showing
28 changed files
with
461 additions
and
98 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* E2E tests are integration tests that connect to live services | ||
* and should be run with the yarn test:e2e script in each package. | ||
* | ||
* There is also a large group of E2E tests in the features folder, using cucumber-js. | ||
*/ | ||
module.exports = { | ||
projects: [ | ||
// "<rootDir>/clients/*/jest.config.e2e.js", | ||
// "<rootDir>/lib/*/jest.config.integ.js", | ||
"<rootDir>/packages/*/jest.config.e2e.js", | ||
// "<rootDir>/private/*/jest.config.e2e.js", | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
/** | ||
* Integration tests are tests that require multiple units or packages, | ||
* and do not connect to live services. | ||
* These should be run with the yarn test:integration script in each package. | ||
* For tests that involve network requests to live services, see jest.config.e2e.js. | ||
* | ||
* The "test:integration:legacy" tests run with cucumber-js should be considered | ||
* E2E tests in this classification system. | ||
*/ | ||
module.exports = { | ||
projects: ["<rootDir>/clients/*/jest.integ.config.js", "<rootDir>/packages/*/jest.config.integ.js"], | ||
projects: [ | ||
"<rootDir>/clients/*/jest.config.integ.js", | ||
// "<rootDir>/lib/*/jest.config.integ.js", | ||
"<rootDir>/packages/*/jest.config.integ.js", | ||
"<rootDir>/private/*/jest.config.integ.js", | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.