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

Add hyrolo search test cases #408

Merged
merged 4 commits into from
Nov 30, 2023
Merged

Add hyrolo search test cases #408

merged 4 commits into from
Nov 30, 2023

Conversation

matsl
Copy link
Collaborator

@matsl matsl commented Nov 24, 2023

What

Add hyrolo search test cases.

Note

  1. Pushing the first test case that verifies searching all file types with matches gives @loc> headers. Will add more.
  2. Added test cases for matching a single record in respective file type and then using action-key to go to record.

@rswgnu
Copy link
Owner

rswgnu commented Nov 25, 2023 via email

@matsl
Copy link
Collaborator Author

matsl commented Nov 25, 2023

While you have the different types of matched entries in a buffer, you should use the action key on each, e.g. by moving to each string match first and then ensure the proper record from each original file is displayed.Might be good to have more than one record with some hierarchy matched from each file type so you see if the tree-level matching works. The Koutline needs the most testing in this area.Cheers

Yes. I will add more test cases around this area. Stay tuned.

@matsl matsl force-pushed the hyrolo-test-cases branch from 66d87cf to d842b4a Compare November 29, 2023 21:22

(ert-deftest hyrolo-fgrep-and-goto-next-visible-md-heading ()
"Verify move to next heading, then action-key to go to record for markdown mode."
:expected-result :failed
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rswgnu Tagging this as expected failed due to => The hyrolo-next-visible-heading step does not bring point to the markdown heading. Is not that what is supposed to happen?

@matsl matsl requested a review from rswgnu November 29, 2023 22:28
@rswgnu rswgnu merged commit ae55b5c into master Nov 30, 2023
5 checks passed
@matsl matsl deleted the hyrolo-test-cases branch December 1, 2023 09:49
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.

2 participants