Details
Details
- Reviewers
- None
- Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T6867: Add linter and unit test engine for Go(lang)
Create a new repository with the following .arcconfig:
{
"unit.engine": "GoTestRaceEngine"
}Create arc_test.go
package test
import "testing"
func TestShouldNotPassRaceTest(t *testing.T) {
var myString string
go func() {
myString = "hello"
}()
go func() {
myString = "bye"
}()
}Now, run arc unit
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- go-race-engine
- Lint
Lint Errors Severity Location Code Message Error src/unit/parser/__tests__/testresults/go.race-warning-test-case-failure-go1.4:27 TXT2 Tab Literal Error src/unit/parser/__tests__/testresults/go.race-warning-test-case-success-go1.4:28 TXT2 Tab Literal - Unit
Tests Passed - Build Status
Buildable 5576 Build 5595: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
Comment Actions
- send the stderr before the stdout so we could parse the race condition
- Merge branch 'go-unit-race-engine' into go-race-engine