You are here: Home Zope products ZopeTestCase

ZopeTestCase (0.9.8)

by cms last modified 2009-01-08
Released on 2005-05-30 by Stefan H. Holek for Zope 2.7 under Zope Public License (ZPL) available for All platforms.
Software development stage: stable
ZopeTestCase is a unit testing framework and TestCase for Zope testing. It is built on PyUnit and the Testing package coming with Zope.

ZopeTestCase has features to support a wide range of test scenarios, from small unit tests to running regression suites against existing ZODBs. It supports testing in INSTANCE_HOME situations and is fully testrunner compatible. The idea is to make Zope testing as simple as possible. No more GuruWritesTests!

ZopeTestCase is an attempt to make writing unit and regression tests in Zope a more rewarding experience. The package deals with all the plumbing required, and leaves the programmer with writing the tests - and the tests only. It is built on PyUnit? and the Testing package coming with Zope.

ZopeTestCase provides a Zope sandbox to every test. This sandbox comes fully equipped with ZODB connection, root application object, and REQUEST. When writing tests you have complete control over Zope, the way you have from a Python product. The framework is easily customized and can be adapted to virtually every conceivable test situation. What you can test with ZTC: Basically everything. Including security, transactions, sessions, web access, ... What you cannot test with ZTC: Web forms and user interaction. This should be left to FunctionalTests?.

Document Actions
Powered by Plone