Skip to content

Commit 48ff298

Browse files
committed
experimental
Signed-off-by: Frederic BIDON <[email protected]>
1 parent ff196e5 commit 48ff298

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

spec_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const testID = "id"
3636
// Enable long running tests by using cmd line arg,
3737
// Usage: go test ... -args [-enable-long|-enable-go-swagger]
3838
//
39-
// -enable-long: enable spec_test.go:TestIssue18 and messages_test.go:Test_Quality*
39+
// -enable-long: enable messages_test.go:Test_Quality*
4040
// -enable-go-swagger: enable non-regression tests against go-swagger fixtures (validation status) in swagger_test.go:Test_GoSwagger (running about 110 specs...)
4141
//
4242
// If none enabled, these tests are skipped

swagger_test.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ func skipNotifyGoSwagger(t *testing.T) {
4242
//
4343
// TODO: move this list to a YAML fixture config file
4444
func Test_GoSwaggerTestCases(t *testing.T) {
45-
if !enableGoSwaggerTests {
46-
skipNotifyGoSwagger(t)
47-
t.SkipNow()
48-
}
45+
/*
46+
if !enableGoSwaggerTests {
47+
skipNotifyGoSwagger(t)
48+
t.SkipNow()
49+
}
50+
*/
4951
// A list of test cases which fail on "swagger validate" at spec load time
5052
expectedLoadFailures := map[string]bool{
5153
"fixtures/go-swagger/bugs/342/fixture-342.yaml": false,

0 commit comments

Comments
 (0)