Skip to content

Commit

Permalink
Scoring: test against local scip-ctags (#677)
Browse files Browse the repository at this point in the history
This change refactors our end-to-end scoring tests and enables local testing
using the scip-ctags binary:
* Split scoring tests out of `e2e_test` and into their own file `scoring_test`
* Split huge test methods into targeted ones like `TestFileNameMatch`,
`TestJava`, `TestGo`, etc.
* For languages that scip-ctags supports, rerun the same cases using the
scip-ctags binary

To run scip-ctags tests locally, you can set the env variable
```
SCIP_CTAGS_COMMAND=<sourcegraph-repo>/dev/scip-ctags-dev
```

This doesn't yet update Zoekt CI to run scip-ctags tests. That will be tackled
in a follow-up.
  • Loading branch information
jtibshirani authored Nov 1, 2023
1 parent 503302f commit c7e066e
Show file tree
Hide file tree
Showing 3 changed files with 741 additions and 627 deletions.
Loading

0 comments on commit c7e066e

Please sign in to comment.