Skip to content
SPECIFICTION
Get listed

ExUnit vs Go testing

ExUnit

hexdocs.pm

Go testing

go.dev

Side by side

FigureExUnitGo testing
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOS—Yes
LinuxYesYes
Plans published11
Spec score · Unit Testing Frameworks8.3 (#4)8.1 (#9)
Spec score · Unit Testing8.2 (#6)8.0 (#8)
Founded20122009
What it doesExUnit is a unit testing framework for Elixir.Go is an open-source programming language supported by Google for building simple, secure, scalable systems.

Plans

ExUnit

  • ExUnitFree

ExUnit pricing →

Go testing

  • GoFree

Go testing pricing →

In their own words

ExUnit

ExUnit has no write-up on Specifiction yet; its figures are above.

Visit hexdocs.pm

Go testing

Go testing is the testing toolkit built into Go, an open-source programming language supported by Google. Developers run it with the `go test` command and `testing` package. It discovers test functions named `TestXXX` in files ending in `_test.go`; adding `-v` displays tests and their results. The standard toolchain also supports native fuzzing, which varies inputs to help find bugs, as well as benchmarking and profiling. The race detector can be enabled with `go test -race`, though it detects races only in code paths exercised during a run. For vulnerability checks, `govulncheck` identifies known issues affecting code and prioritizes them according to whether vulnerable functions or methods are called. Its JSON output can feed CI/CD systems, and the Go team provides a GitHub Action. Go is free and has releases for Linux, macOS, and Windows, along with source archives and other ports. Its cryptography libraries can be used in FIPS 140-3 compliant mode. The language is used for cloud and network services, command-line interfaces, web development, DevOps, and site reliability engineering.

Visit go.dev