Skip to content

ArtusC/go-with-tests

Repository files navigation


Now, we can run the tests separately, as described into makeflile:

  • to run unitary tests:

    • run all:
      • make unitCheck
    • to run a specific test file, example:
      • make unitCheck testfile=./context/v3/
    • to run a specific test name, example:
      • make unitCheck testfile=./context/v3/ testname=TestServer
    • if you want to run these tests with a race flag, put -race=race, example:
      • make unitCheck testfile=./context/v3/ testname=TestServer -race=race
  • to run integration tests:

    • run all:
      • make integrationCheck
    • to run a specific test file, example:
      • make integrationCheck testfile=./context/v3/
    • to run a specific test name, example:
      • make integrationCheck testfile=./context/v3/ testname=TestServer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published