Skip to Main Content
The Definitive Guide to Jython: Python for the Java™ Platform
book

The Definitive Guide to Jython: Python for the Java™ Platform

by Josh Juneau, Jim Baker, Victor Ng, Leo Soto, Frank Wierzbicki
March 2010
Beginner to intermediate content levelBeginner to intermediate
544 pages
13h 28m
English
Apress
Content preview from The Definitive Guide to Jython: Python for the Java™ Platform

Chapter 18. Testing and Continuous Integration

Nowadays, automated testing is a fundamental activity in software development. In this chapter, you will see a survey of the tools available for Jython in this field. These tools range from common tools used in the Python world to aid with unit testing, to more complex tools available in the Java world that can be extended or driven using Jython.

Python Testing Tools

Let's start the chapter with a discussion of the most common Python testing tools. We will start with UnitTest to get a feel for the process.

UnitTest

First we will take a look at the most classic test tool available in Python: UnitTest. It follows the conventions of most "xUnit" incarnations (such as JUnit); you subclass from TestCase class, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython

Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython

Richard Hightower
Jython Essentials

Jython Essentials

Samuele Pedroni, Noel Rappin

Publisher Resources

ISBN: 9781430225270Purchase book