Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Test Package" command reports no tests run #36

Open
sharwell opened this issue Mar 17, 2017 · 0 comments
Open

"Test Package" command reports no tests run #36

sharwell opened this issue Mar 17, 2017 · 0 comments
Labels

Comments

@sharwell
Copy link
Member

Project:

https://github.com/stretchr/testify

Package:

github.com/stretchr/testify/assert

Command:

go test -v github.com/stretchr/testify/assert

Output:

=== RUN   TestObjectsAreEqual
--- PASS: TestObjectsAreEqual (0.00s)
=== RUN   TestImplements
--- PASS: TestImplements (0.00s)
=== RUN   TestIsType
--- PASS: TestIsType (0.00s)
=== RUN   TestEqual
--- PASS: TestEqual (0.00s)
=== RUN   TestEqualFormatting
--- PASS: TestEqualFormatting (0.00s)
=== RUN   TestFormatUnequalValues
--- PASS: TestFormatUnequalValues (0.00s)
=== RUN   TestNotNil
--- PASS: TestNotNil (0.00s)
=== RUN   TestNil
--- PASS: TestNil (0.00s)
=== RUN   TestTrue
--- PASS: TestTrue (0.00s)
=== RUN   TestFalse
--- PASS: TestFalse (0.00s)
=== RUN   TestExactly
--- PASS: TestExactly (0.00s)
=== RUN   TestNotEqual
--- PASS: TestNotEqual (0.00s)
=== RUN   TestContains
--- PASS: TestContains (0.00s)
=== RUN   TestNotContains
--- PASS: TestNotContains (0.00s)
=== RUN   Test_includeElement
--- PASS: Test_includeElement (0.00s)
=== RUN   TestCondition
--- PASS: TestCondition (0.00s)
=== RUN   TestDidPanic
--- PASS: TestDidPanic (0.00s)
=== RUN   TestPanics
--- PASS: TestPanics (0.00s)
=== RUN   TestNotPanics
--- PASS: TestNotPanics (0.00s)
=== RUN   TestNoError
--- PASS: TestNoError (0.00s)
=== RUN   TestError
--- PASS: TestError (0.00s)
=== RUN   TestEqualError
--- PASS: TestEqualError (0.00s)
=== RUN   Test_isEmpty
--- PASS: Test_isEmpty (0.00s)
=== RUN   TestEmpty
--- PASS: TestEmpty (0.00s)
=== RUN   TestNotEmpty
--- PASS: TestNotEmpty (0.00s)
=== RUN   Test_getLen
--- PASS: Test_getLen (0.00s)
=== RUN   TestLen
--- PASS: TestLen (0.00s)
=== RUN   TestWithinDuration
--- PASS: TestWithinDuration (0.00s)
=== RUN   TestInDelta
--- PASS: TestInDelta (0.00s)
=== RUN   TestInDeltaSlice
--- PASS: TestInDeltaSlice (0.00s)
=== RUN   TestInEpsilon
--- PASS: TestInEpsilon (0.00s)
=== RUN   TestInEpsilonSlice
--- PASS: TestInEpsilonSlice (0.00s)
=== RUN   TestRegexp
--- PASS: TestRegexp (0.00s)
=== RUN   TestCallerInfoWithAutogeneratedFunctions
--- PASS: TestCallerInfoWithAutogeneratedFunctions (0.00s)
=== RUN   TestZero
--- PASS: TestZero (0.00s)
=== RUN   TestNotZero
--- PASS: TestNotZero (0.00s)
=== RUN   TestJSONEq_EqualSONString
--- PASS: TestJSONEq_EqualSONString (0.00s)
=== RUN   TestJSONEq_EquivalentButNotEqual
--- PASS: TestJSONEq_EquivalentButNotEqual (0.00s)
=== RUN   TestJSONEq_HashOfArraysAndHashes
--- PASS: TestJSONEq_HashOfArraysAndHashes (0.00s)
=== RUN   TestJSONEq_Array
--- PASS: TestJSONEq_Array (0.00s)
=== RUN   TestJSONEq_HashAndArrayNotEquivalent
--- PASS: TestJSONEq_HashAndArrayNotEquivalent (0.00s)
=== RUN   TestJSONEq_HashesNotEquivalent
--- PASS: TestJSONEq_HashesNotEquivalent (0.00s)
=== RUN   TestJSONEq_ActualIsNotJSON
--- PASS: TestJSONEq_ActualIsNotJSON (0.00s)
=== RUN   TestJSONEq_ExpectedIsNotJSON
--- PASS: TestJSONEq_ExpectedIsNotJSON (0.00s)
=== RUN   TestJSONEq_ExpectedAndActualNotJSON
--- PASS: TestJSONEq_ExpectedAndActualNotJSON (0.00s)
=== RUN   TestJSONEq_ArraysOfDifferentOrder
--- PASS: TestJSONEq_ArraysOfDifferentOrder (0.00s)
=== RUN   TestDiff
--- PASS: TestDiff (0.00s)
=== RUN   TestDiffEmptyCases
--- PASS: TestDiffEmptyCases (0.00s)
=== RUN   TestDiffRace
=== RUN   TestFailNowWithPlainTestingT
--- PASS: TestFailNowWithPlainTestingT (0.00s)
=== RUN   TestFailNowWithFullTestingT
--- PASS: TestFailNowWithFullTestingT (0.00s)
=== RUN   TestImplementsWrapper
--- PASS: TestImplementsWrapper (0.00s)
=== RUN   TestIsTypeWrapper
--- PASS: TestIsTypeWrapper (0.00s)
=== RUN   TestEqualWrapper
--- PASS: TestEqualWrapper (0.00s)
=== RUN   TestEqualValuesWrapper
--- PASS: TestEqualValuesWrapper (0.00s)
=== RUN   TestNotNilWrapper
--- PASS: TestNotNilWrapper (0.00s)
=== RUN   TestNilWrapper
--- PASS: TestNilWrapper (0.00s)
=== RUN   TestTrueWrapper
--- PASS: TestTrueWrapper (0.00s)
=== RUN   TestFalseWrapper
--- PASS: TestFalseWrapper (0.00s)
=== RUN   TestExactlyWrapper
--- PASS: TestExactlyWrapper (0.00s)
=== RUN   TestNotEqualWrapper
--- PASS: TestNotEqualWrapper (0.00s)
=== RUN   TestContainsWrapper
--- PASS: TestContainsWrapper (0.00s)
=== RUN   TestNotContainsWrapper
--- PASS: TestNotContainsWrapper (0.00s)
=== RUN   TestConditionWrapper
--- PASS: TestConditionWrapper (0.00s)
=== RUN   TestDidPanicWrapper
--- PASS: TestDidPanicWrapper (0.00s)
=== RUN   TestPanicsWrapper
--- PASS: TestPanicsWrapper (0.00s)
=== RUN   TestNotPanicsWrapper
--- PASS: TestNotPanicsWrapper (0.00s)
=== RUN   TestNoErrorWrapper
--- PASS: TestNoErrorWrapper (0.00s)
=== RUN   TestErrorWrapper
--- PASS: TestErrorWrapper (0.00s)
=== RUN   TestEqualErrorWrapper
--- PASS: TestEqualErrorWrapper (0.00s)
=== RUN   TestEmptyWrapper
--- PASS: TestEmptyWrapper (0.00s)
=== RUN   TestNotEmptyWrapper
--- PASS: TestNotEmptyWrapper (0.00s)
=== RUN   TestLenWrapper
--- PASS: TestLenWrapper (0.00s)
=== RUN   TestWithinDurationWrapper
--- PASS: TestWithinDurationWrapper (0.00s)
=== RUN   TestInDeltaWrapper
--- PASS: TestInDeltaWrapper (0.00s)
=== RUN   TestInEpsilonWrapper
--- PASS: TestInEpsilonWrapper (0.00s)
=== RUN   TestRegexpWrapper
--- PASS: TestRegexpWrapper (0.00s)
=== RUN   TestZeroWrapper
--- PASS: TestZeroWrapper (0.00s)
=== RUN   TestNotZeroWrapper
--- PASS: TestNotZeroWrapper (0.00s)
=== RUN   TestJSONEqWrapper_EqualSONString
--- PASS: TestJSONEqWrapper_EqualSONString (0.00s)
=== RUN   TestJSONEqWrapper_EquivalentButNotEqual
--- PASS: TestJSONEqWrapper_EquivalentButNotEqual (0.00s)
=== RUN   TestJSONEqWrapper_HashOfArraysAndHashes
--- PASS: TestJSONEqWrapper_HashOfArraysAndHashes (0.00s)
=== RUN   TestJSONEqWrapper_Array
--- PASS: TestJSONEqWrapper_Array (0.00s)
=== RUN   TestJSONEqWrapper_HashAndArrayNotEquivalent
--- PASS: TestJSONEqWrapper_HashAndArrayNotEquivalent (0.00s)
=== RUN   TestJSONEqWrapper_HashesNotEquivalent
--- PASS: TestJSONEqWrapper_HashesNotEquivalent (0.00s)
=== RUN   TestJSONEqWrapper_ActualIsNotJSON
--- PASS: TestJSONEqWrapper_ActualIsNotJSON (0.00s)
=== RUN   TestJSONEqWrapper_ExpectedIsNotJSON
--- PASS: TestJSONEqWrapper_ExpectedIsNotJSON (0.00s)
=== RUN   TestJSONEqWrapper_ExpectedAndActualNotJSON
--- PASS: TestJSONEqWrapper_ExpectedAndActualNotJSON (0.00s)
=== RUN   TestJSONEqWrapper_ArraysOfDifferentOrder
--- PASS: TestJSONEqWrapper_ArraysOfDifferentOrder (0.00s)
=== RUN   TestHTTPStatuses
--- PASS: TestHTTPStatuses (0.00s)
=== RUN   TestHTTPStatusesWrapper
--- PASS: TestHTTPStatusesWrapper (0.00s)
=== RUN   TestHttpBody
--- PASS: TestHttpBody (0.00s)
=== RUN   TestHttpBodyWrappers
--- PASS: TestHttpBodyWrappers (0.00s)
--- PASS: TestDiffRace (0.00s)
PASS
ok  	github.com/stretchr/testify/assert	1.019s

TEST SUCCESSFUL (total time: 3s)

Expected:

Test results window shows test results.

Actual:

Test results window says no tests were executed.

@sharwell sharwell added the bug label Mar 17, 2017
@sharwell sharwell changed the title Test package reports no tests run "Test Package" command reports no tests run Mar 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant