Running Unit Tests for Multi-git
In this lesson, you will learn how to run the unit tests we created in the previous lesson using either go test or Ginkgo. We will also check the test coverage and run focused tests, which is very useful during development.
Running Ginkgo tests
As you recall, Ginkgo tests are actually standard Go tests. We can run them either with go test
or using the Ginkgo CLI. Let’s try both.
Running Ginkgo tests with “go test”
This is exactly the same as running non-Ginkgo tests. Just type go test
to run all the Ginkgo tests.
Get hands-on with 1400+ tech skills courses.