Learn unit testing with PowerMock using Packt’s new eBook

November 2013 | Beginner's Guides, Java, Open Source

Packt is pleased to announce the release of its new book Instant Mock testing with PowerMock, a short and focused guide to enhance unit testing with PowerMock. The book features innovative ways to write unit test codes for static, final, and private methods. The book is available in all the popular electronic formats such as Amazon, Kindle, e-pub, and PDF.

About Author:

Deep Shah has always been fascinated by computers, which has turned him into a passionate software developer. As a developer he strongly believes in writing unit tests and probes for different programming languages, tools, and frameworks. He has worked with Amazon, Thoughtworks, and Spiderlogic, and is well versed with a large number of programming languages including Java, C#, JavaScript, Scala, and Haskell.

Mocking is primarily used as unit testing. An object under test may have a lot of dependencies, thus to isolate the behaviour of that object, a mock object is used which simulates the behaviour of the test object. Mocking may be generally used when an object is impractical or impossible to incorporate in a unit test.

Mock Testing with PowerMock is a step-by-step guide that enables readers to write unit tests without any of the unwanted behaviour of codes and further explores the use of argument matchers in writing flexible tests. Programmers will learn how to use PowerMock to write unit tests and use mock policies to avoid writing codes repetitively.

This is a beginner’s guide, however, it can also be used by professionals, as the book covers both basic and advanced concepts. The book trains readers to write unit tests for almost any scenario and comprises of the different tricks used for coding. This guide is also suitable for readers with an intermediate knowledge of PowerMock.

Packt has also published the following titles related to this topic:
Instant Testing with QUnit
Web Services Testing with soapUI

Packt is one of the most prolific and fast-growing tech book publishers in the world. Originally focused on open source software, Packt books focuses on practicality, recognizing that readers are ultimately concerned with getting the job done. Packt’s digitally-focused business model allows to publish up-to-date books in very specific areas.


Instant Mock Testing with PowerMock
Discover unit testing with PowerMock

For more
information, please visit: http://www.packtpub.com/mock-testing-with-powermock/book

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software