Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,21 @@ go test -coverpkg=./... -coverprofile=coverage.out ./...
go tool cover -html=coverage.out
```

#### Recording oracles

In order to record updated oracles for offline testing you can run for example from project root:

```shell
GITHUB_TOKEN=<xxx> go run examples/cmd/testing/*.go -repo=gitbase -org=src-d -happy=true
````

the options are:

```
-repo= The repository to crawl and store
-org= The organization to crawl and store
-happy= boolean, whether you want to record a happy crawl or errors in crawling (false)
```

## Contribute

Expand Down
2 changes: 2 additions & 0 deletions testdata/regression.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# regression config represents the array of lists of github organizations
- bblfsh,git-fixtures