You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally, use `dotnet run` to run the indexer locally.
72
+
22
73
```shell
23
74
dotnet run --framework net6.0 --project ScipDotnet -- index --working-directory PATH_TO_DIRECTORY_YOU_WANT_TO_INDEX
24
75
```
25
76
26
-
Once scip-dotnet has finished indexing the project, there should be an `index.scip` at the root of the
27
-
directory you've indexed. Use `src code-intel upload` to upload the SCIP index to Sourcegraph.
77
+
Once scip-dotnet has finished indexing the project, there should be an
78
+
`index.scip` at the root of the directory you've indexed. Use
79
+
`src code-intel upload` to upload the SCIP index to Sourcegraph.
80
+
28
81
```shell
29
82
npm install -g @sourcegraph/src
30
83
export SRC_ACCESS_TOKEN=PASTE_YOUR_TOKEN_HERE
@@ -34,13 +87,17 @@ src code-intel upload
34
87
35
88
## Testing
36
89
37
-
This project heavily uses "snapshot" or "expect" tests.
38
-
See [Verify](https://github.com/VerifyTests/Verify), ["Testing with expectations"](https://blog.janestreet.com/testing-with-expectations/)
39
-
or ["Snapshot Testing"](https://jestjs.io/docs/snapshot-testing) to learn more about this style of testing.
90
+
This project heavily uses "snapshot" or "expect" tests. See
91
+
[Verify](https://github.com/VerifyTests/Verify),
92
+
["Testing with expectations"](https://blog.janestreet.com/testing-with-expectations/)
93
+
or ["Snapshot Testing"](https://jestjs.io/docs/snapshot-testing) to learn more
94
+
about this style of testing.
95
+
96
+
Run `dotnet test` to run all tests. The tests fail with a unified diff output
97
+
when the generated SCIP index does not format according to the generated
98
+
snapshot output in the directory `snapshots/output/` .
40
99
41
-
Run `dotnet test` to run all tests.
42
-
The tests fail with a unified diff output when the generated SCIP index does not format according to the generated snapshot output in the directory `snapshots/output/` .
43
-
```diff
100
+
````diff
44
101
❯ dotnet test
45
102
...
46
103
A total of 1 test files matched the specified pattern.
@@ -52,12 +109,28 @@ A total of 1 test files matched the specified pattern.
0 commit comments