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

Tests: File Indexing and Search Functionality #1503

Merged
merged 3 commits into from
Dec 17, 2023

Conversation

tom-ludwig
Copy link
Member

Description

This PR adds tests for file indexing and searching operations.
I've also updated relevant documentation for adding files and folders to the index.

Added tests:
Memory Indexing:

  • testIndexFile
  • testIndexFiles
  • testIndexFolder
  • testIndexCleanUp
  • testCloseIndex
  • testDocumentIsIndex
  • testSaveAndLoad

Memory Search:

  • testIndexFileSearch
  • testIndexFolderSearch
  • testIndexFileWildCardSearch
  • testIndexRemoveDocument

Async-Indexing:

  • testAddDocuments
  • testSearchDocuments

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

This commit includes additions for the creation of files, directories, and unit tests related to file indexing and searching operations.
Copy link
Collaborator

@0xWDG 0xWDG left a comment

Choose a reason for hiding this comment

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

LGTM.

@austincondiff austincondiff merged commit 7353586 into CodeEditApp:main Dec 17, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants