Commit 2df24ad
committed
Add comprehensive integration and unit tests for CodeGraph
- Introduced integration tests for updating and syncing files, ensuring that new files and modifications are correctly indexed and counted.
- Added unit tests for API resolvers, covering health checks, mutations for node operations, and batch operations.
- Implemented tests for graph node store CRUD operations, including finding nodes by label and property.
- Created tests for traversal functionalities, verifying shortest path calculations and neighbor fetching.
- Developed parser tests for various programming languages, including handling malformed code gracefully.
- Added vector tests for embedding generation, cache management, and eviction patterns.
- Established helper functions for test setup, including temporary working directories and node creation.1 parent 4c86495 commit 2df24ad
File tree
24 files changed
+6148
-257
lines changed- benches
- crates
- codegraph-api/src
- graphql
- codegraph-core
- src/integration
- docs/evaluations
- target
- tests
- integration
- src
- tests
- unit
- helpers
24 files changed
+6148
-257
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
0 commit comments