🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

github.com/Willsem/golang-coursera/hw4_test_coverage

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/Willsem/golang-coursera/hw4_test_coverage

v0.0.0-20230716170030-7bd03119d315
Source
Go
Version published
Created
Source

Test

$ make test

Result

go test -v -cover
=== RUN   TestFindUsersOk
--- PASS: TestFindUsersOk (0.00s)
=== RUN   TestFindUsersErrorWithRequest
--- PASS: TestFindUsersErrorWithRequest (0.00s)
=== RUN   TestFindUsersUnauthorized
--- PASS: TestFindUsersUnauthorized (0.00s)
=== RUN   TestFindUsersUnmarshalError
--- PASS: TestFindUsersUnmarshalError (0.00s)
=== RUN   TestFindUsersNilServer
--- PASS: TestFindUsersNilServer (0.00s)
=== RUN   TestFindUsersServerTimeout
--- PASS: TestFindUsersServerTimeout (1.00s)
=== RUN   TestFindUsersInternalError
--- PASS: TestFindUsersInternalError (0.00s)
=== RUN   TestFindUsersBadRequestError
--- PASS: TestFindUsersBadRequestError (0.00s)
PASS
coverage: 100.0% of statements
ok  	github.com/Willsem/golang-coursera/hw4_test_coverage	1.021s

FAQs

Package last updated on 16 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts