Skip to content

Separate unit and integration tests.#320

Merged
nhtruong merged 2 commits intoopensearch-project:mainfrom
dblock:unit-integ-tests-split
Jun 6, 2024
Merged

Separate unit and integration tests.#320
nhtruong merged 2 commits intoopensearch-project:mainfrom
dblock:unit-integ-tests-split

Conversation

@dblock
Copy link
Copy Markdown
Member

@dblock dblock commented Jun 6, 2024

Description

Splits unit and integration tests. Didn't want to move all the files so only moved integration tests into an integ subfolder that can exist anywhere. Unit tests are run in parallel and integration tests are run sequentially using --runInBand. You can run unit tests with npm run test:unit separately from integration tests with npm run test:integ.

Issues Resolved

Closes #313.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 6, 2024

Changes Analysis

Commit SHA: 2287864
Comparing To SHA: 698266e

API Changes

Summary

NO CHANGES

Report

The full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/9400661205/artifacts/1574968747

API Coverage

Before After Δ
Covered (%) 476 (46.62 %) 476 (46.62 %) 0 (0 %)
Uncovered (%) 545 (53.38 %) 545 (53.38 %) 0 (0 %)
Unknown 24 24 0

@nhtruong nhtruong merged commit 3ad078c into opensearch-project:main Jun 6, 2024
@dblock dblock deleted the unit-integ-tests-split branch June 7, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] npm run test requires a docker instance of OpenSearch

2 participants