Skip to content
SPECIFICTION
Get listed

Ginkgo vs phpspec

Ginkgo

onsi.github.io

phpspec

phpspec.net

Side by side

FigureGinkgophpspec
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYes—
macOSYes—
LinuxYesYes
Self-hosted—Yes
Plans published11
Spec score · BDD Testing Tools8.2 (#7)7.2 (#21)
MatchersGinkgo is designed to be paired with Gomega, which provides its matcher library.The manual lists built-in matchers for identity, comparison, exceptions, types, object state, counts, iterables, and strings.
PurposeGinkgo is a testing framework for Go for writing expressive tests, including unit, integration, acceptance, and performance tests.phpspec is a PHP toolset for driving emergent design by specification.

Plans

Ginkgo

  • GinkgoFree

Ginkgo pricing →

phpspec

  • phpspecFree

phpspec pricing →

In their own words

Ginkgo

Ginkgo is a free, MIT-licensed testing framework for Go that helps developers write expressive specifications. Its BDD-style DSL uses nested Describe, Context, and When containers, along with setup, cleanup, and spec nodes. Developers can use it for unit, integration, and performance specs. Independent specs can run in parallel or in reproducibly randomized order. The bundled ginkgo command can generate, run, filter, and profile suites, and watch for changes to rerun specs. Reporting can produce machine-readable output in multiple formats and supports custom reporting infrastructure. Ginkgo builds on Go’s testing foundation and is designed to pair with the Gomega matcher library. Its GinkgoT() and GinkgoTB() interfaces also allow use of Go testing libraries such as Testify and Gomock. Documentation lists completions for Sublime Text and VS Code, plus a VS Code extension for running specs. The current supported major version is V2; V1 is no longer supported. Ginkgo states compatibility with Go versions currently supported under Go’s release policy, N and N−1.

Visit onsi.github.io

phpspec

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

Visit phpspec.net