+
+

Related Products

  • Parasoft
    133 Ratings
    Visit Website
  • Gearset
    227 Ratings
    Visit Website
  • qTest
    Visit Website
  • YouTestMe
    36 Ratings
    Visit Website
  • Boozang
    15 Ratings
    Visit Website
  • Bitrise
    385 Ratings
    Visit Website
  • MuukTest
    31 Ratings
    Visit Website
  • Macaw AMS
    5 Ratings
    Visit Website
  • Windsurf Editor
    155 Ratings
    Visit Website
  • QA Wolf
    238 Ratings
    Visit Website

About

The toolkit is provided as a set of artifacts deployed to the Maven Central repository. It requires Java 7 or newer for test execution; tests must use JUnit or TestNG. For instructions on how to add the library to a Java project, see Running tests with JMockit. In this tutorial we examine the APIs available in the library, with the help of example tests (using Java 8). The central API - a single annotation - provides support for the automatic instantiation and initialization of the objects to be tested. Then we have the mocking API (also known as the "Expectations" API), intended for tests which use mocked dependencies. Finally, there is a small faking API (aka the "Mockups" API), which can be used for the creation and application of fake implementations that avoid the full cost of external components.

About

Spock is a testing and specification framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers. Spock is inspired from JUnit, RSpec, jMock, Mockito, Groovy, Scala, Vulcans, and other fascinating life forms. Spock Web Console is a website that allows you to instantly view, edit, run, and even publish Spock specifications. It is the perfect place to toy around with Spock without making any commitments.

Platforms Supported

Windows
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

Platforms Supported

Windows
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

Audience

DevOps teams looking for an Unit Testing solution

Audience

DevOps teams looking for a Test Automation Framework

Support

Phone Support
24/7 Live Support
Online

Support

Phone Support
24/7 Live Support
Online

API

Offers API

API

Offers API

Screenshots and Videos

Screenshots and Videos

Pricing

Free
Free Version
Free Trial

Pricing

Free
Free Version
Free Trial

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Training

Documentation
Webinars
Live Online
In Person

Training

Documentation
Webinars
Live Online
In Person

Company Information

JMockit
jmockit.github.io

Company Information

Spock
spockframework.org

Alternatives

Alternatives

HUnit

HUnit

Hackage
HUnit

HUnit

Hackage

Categories

Categories

Integrations

Java
Apache Groovy
JUnit

Integrations

Java
Apache Groovy
JUnit
Claim JMockit and update features and information
Claim JMockit and update features and information
Claim Spock Framework and update features and information
Claim Spock Framework and update features and information