Need advice about which tool to choose?Ask the StackShare community!

Mockito

1.8K
179
+ 1
0
Poltergeist

17
24
+ 1
0
Add tool

Mockito vs Poltergeist: What are the differences?

Mockito: Tasty mocking framework for unit tests in Java. It is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. It doesn’t give you hangover because the tests are very readable and they produce clean verification errors; Poltergeist: A PhantomJS driver for Capybara. Poltergeist is a driver for Capybara. It allows you to run your Capybara tests on a headless WebKit browser, provided by PhantomJS.

Mockito and Poltergeist belong to "Testing Frameworks" category of the tech stack.

Mockito and Poltergeist are both open source tools. It seems that Mockito with 9.02K GitHub stars and 1.62K forks on GitHub has more adoption than Poltergeist with 2.53K GitHub stars and 437 GitHub forks.

According to the StackShare community, Mockito has a broader approval, being mentioned in 9 company stacks & 6 developers stacks; compared to Poltergeist, which is listed in 6 company stacks and 4 developer stacks.

Manage your open source components, licenses, and vulnerabilities
Learn More

What is Mockito?

It is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. It doesn’t give you hangover because the tests are very readable and they produce clean verification errors.

What is Poltergeist?

Poltergeist is a driver for Capybara. It allows you to run your Capybara tests on a headless WebKit browser, provided by PhantomJS.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Mockito?
What companies use Poltergeist?
Manage your open source components, licenses, and vulnerabilities
Learn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Mockito?
What tools integrate with Poltergeist?

Blog Posts

What are some alternatives to Mockito and Poltergeist?
JUnit
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
Appium
Appium is an open source test automation framework for use with native, hybrid, and mobile web apps. It drives iOS and Android apps using the WebDriver protocol. Appium is sponsored by Sauce Labs and a thriving community of open source developers.
Robolectric
It is a framework that brings fast and reliable unit tests to Android. Tests run inside the JVM on your workstation in seconds. Test drive your Android application with robolectric
mockk
It is an open-source library focused on making mocking in Kotlin great. It is a library with the possibility of mocking default arguments, final classes, varargs, coroutines and extension methods.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
See all alternatives