我在执行单元测试后,所有方法都被测试,但唯独显示不出覆盖率,一下是信息:

➜  tests git:(develop) ✗ go test ./ -v -cover
=== RUN   Test_GetUsers
--- PASS: Test_GetUsers (0.08s)
=== RUN   Test_GetCurrentLocation
--- PASS: Test_GetCurrentLocation (0.01s)
=== RUN   Test_CreateOrUpdateLocationArgs
--- PASS: Test_CreateOrUpdateLocationArgs (0.00s)
=== RUN   Test_LocationCreateAndExists
--- PASS: Test_LocationCreateAndExists (0.07s)
=== RUN   Test_Delete
--- PASS: Test_Delete (0.02s)
=== RUN   Test_FindDashboard
--- PASS: Test_FindDashboard (0.01s)
=== RUN   Test_FindServiceType
--- PASS: Test_FindServiceType (0.00s)
=== RUN   Test_EditArgs
--- PASS: Test_EditArgs (0.00s)
=== RUN   Test_SortArgs
--- PASS: Test_SortArgs (0.00s)
PASS
coverage: [no statements]
ok      nimbus_backend/apisrv/tests    (cached)    coverage: [no statements]
coverage: no statementsno statements