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

[FindNextAction] Introduce unit tests #2330

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Wittmaxi
Copy link
Contributor

@Wittmaxi Wittmaxi commented Sep 26, 2024

Introduces unit tests for the FindNextAction.
I don't achieve 100% test coverage, but I test for the most important parts. Appart from the "naive" functionality, in particular I test for:

  1. search options are taken into account
  2. the search history is honored
  3. whole - word search is only performed if the selection is a word
  4. RegExes are correctly escaped

Copy link
Contributor

github-actions bot commented Sep 26, 2024

Test Results

 1 210 files   -   605   1 210 suites   - 605   53m 51s ⏱️ - 44m 34s
 7 710 tests +   10   7 482 ✅ +   11  228 💤 ±  0  0 ❌  - 1 
16 194 runs   - 8 067  15 727 ✅  - 7 786  467 💤  - 280  0 ❌  - 1 

Results for commit 97ed40d. ± Comparison against base commit f35ef3a.

♻️ This comment has been updated with latest results.

@Wittmaxi Wittmaxi marked this pull request as draft September 27, 2024 10:23
@Wittmaxi Wittmaxi marked this pull request as ready for review September 27, 2024 14:34
Introduces unit tests for the FindNextAction.
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