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

[TEST] Improve integration tests about the lib initialization #2068

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

tbouffard
Copy link
Member

Add integration tests to test all combinations of initialization options.
It lets detect that the implementation can be simplified.

Hide console warnings generated by the parsing code in integration tests. This makes the output clearer and help
to highlight real problems.

Remove jest spies on console in parsing unit tests. There is no such calls as we use a custom parsing warning
collector in tests.

Add integration tests to test all combinations of initialization options.
It lets detect that the implementation can be simplified.

Hide console warnings generated by the parsing code in integration tests. This makes the output clearer and help
to highlight real problems.

Remove jest spies on `console` in parsing unit tests. There is no such calls as we use a custom parsing warning
collector in tests.
@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Jun 23, 2022
@tbouffard tbouffard requested a review from csouchet June 23, 2022 11:39
@github-actions
Copy link

github-actions bot commented Jun 23, 2022

♻️ PR Preview ef12b44 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@github-actions
Copy link

github-actions bot commented Jun 23, 2022

♻️ PR Preview ef12b44 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@tbouffard tbouffard merged commit a6ff66d into master Jun 23, 2022
@tbouffard tbouffard deleted the test/add_lib_init_tests branch June 23, 2022 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants