Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate unit and integration tests. #320

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

dblock
Copy link
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.

Copy link
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
7 checks passed
@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