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

Refactor unit tests #199

Merged
merged 1 commit into from
May 9, 2024
Merged

Refactor unit tests #199

merged 1 commit into from
May 9, 2024

Conversation

dorssel
Copy link
Owner

@dorssel dorssel commented May 9, 2024

  • enable parallel testing
  • better timing tests

Copy link
Contributor

github-actions bot commented May 9, 2024

Test Results

192 tests  ±0   192 ✅ ±0   6s ⏱️ -5s
  2 suites ±0     0 💤 ±0 
  2 files   ±0     0 ❌ ±0 

Results for commit db71ce0. ± Comparison against base commit 795205c.

This pull request removes 27 and adds 27 tests. Note that renamed tests count towards both.
UnitTests.DebouncerTests ‑ CoalesceDuringHandler
UnitTests.DebouncerTests ‑ CoalesceDuringHandlerGeneric
UnitTests.DebouncerTests ‑ DisposeDuringHandler
UnitTests.DebouncerTests ‑ DisposeDuringTimer
UnitTests.DebouncerTests ‑ DisposeFromHandler
UnitTests.DebouncerTests ‑ ResetDuringDebounce
UnitTests.DebouncerTests ‑ ResetDuringDebounceGeneric
UnitTests.DebouncerTests ‑ ResetFromHandler
UnitTests.DebouncerTests ‑ ResetFromHandlerGeneric
UnitTests.DebouncerTests ‑ TimingMaximum
…
UnitTests.TimingTests ‑ CoalesceDuringHandler
UnitTests.TimingTests ‑ CoalesceDuringHandlerGeneric
UnitTests.TimingTests ‑ DisposeDuringHandler
UnitTests.TimingTests ‑ DisposeDuringTimer
UnitTests.TimingTests ‑ DisposeFromHandler
UnitTests.TimingTests ‑ ResetDuringDebounce
UnitTests.TimingTests ‑ ResetDuringDebounceGeneric
UnitTests.TimingTests ‑ ResetFromHandler
UnitTests.TimingTests ‑ ResetFromHandlerGeneric
UnitTests.TimingTests ‑ TimingMaximum
…

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented May 9, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 5 0 0.03s
✅ CSS stylelint 2 0 1.64s
✅ EDITORCONFIG editorconfig-checker 96 0 0.31s
✅ HTML djlint 1 0 0.81s
✅ HTML htmlhint 1 0 0.27s
✅ JSON jsonlint 10 0 0.26s
✅ JSON prettier 10 0 0.71s
✅ MARKDOWN markdownlint 2 0 0.5s
✅ MARKDOWN markdown-link-check 2 0 6.04s
✅ MARKDOWN markdown-table-formatter 2 0 0.3s
✅ REPOSITORY checkov yes no 12.56s
✅ REPOSITORY gitleaks yes no 1.15s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 13.2s
✅ REPOSITORY secretlint yes no 1.07s
✅ REPOSITORY trivy yes no 7.65s
✅ REPOSITORY trivy-sbom yes no 6.03s
✅ REPOSITORY trufflehog yes no 4.22s
✅ XML xmllint 11 0 0.01s
✅ YAML prettier 10 0 0.87s
✅ YAML v8r 10 0 7.27s
✅ YAML yamllint 10 0 0.41s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link

codecov bot commented May 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.07%. Comparing base (795205c) to head (db71ce0).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   99.07%   99.07%           
=======================================
  Files           4        4           
  Lines         217      217           
  Branches       44       44           
=======================================
  Hits          215      215           
  Misses          1        1           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

- enable parallel testing
- better timing tests
@dorssel dorssel merged commit 139486b into master May 9, 2024
9 checks passed
@dorssel dorssel deleted the parallel_tests branch May 9, 2024 20:08
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.

1 participant