Open louischan-oursky opened 2 hours ago
The tests should be easy to read, and easy to add
func TestSelection(t *testing.T) { test := func(configYAML string, expectedName string) { // Parse the configYAML, call the function, and assert the result } test(` # The YAML here `, "foobar") test(` # The YAML here `, "foobar") }
DEV-2091 Add tests
@chankiyu22
Add tests for the selection or matching logic
The tests should be easy to read, and easy to add