Consolidate Dolt-specific foreign key tests into `dolt_queries_foreign_keys.go`
- Dominant language
- Go
- Stars
- 24.4k
- Forks
- 873
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 120
Description
Several tests that belong to the file are scattered in `dolt_queries.go`. This is a part of the process of debloating `dolt_queries.go` and organizing of test infrastructure. `dolt_queries_foreign_keys.go` was added in dolthub/dolt#10906 to house Dolt-specific foreign key tests separately from the engine-level tests in `go-mysql-server`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing dolt_queries.go with dolt_queries_foreign_keys.go and identify the Dolt-specific foreign key tests still in the former. Move those tests into the dedicated file while keeping engine-level tests separate. Run the relevant Go test suite and confirm the tests remain passing and dolt_queries.go is debloated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases, testing
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 85/100