<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF xmlns="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><Project><name>van.testing</name>
<shortdesc>Layers for zope.testing to simplify test setups</shortdesc>
<description>.. contents::

Testing Utilities
=================

Layers
------

Some basic layers useful for making test setups.

    &gt;&gt;&gt; import os.path
    &gt;&gt;&gt; from van.testing.layer import zcml_layer, null_layer

A zcml layer which sets up and tears down a zcml test harness (but is much
simpler than that provided with zope.app.functional):

    &gt;&gt;&gt; class ZCMLLayer:
    ...     zcml = os.path.join(os.path.dirname(__file__), 'ftesting.zcml')
    &gt;&gt;&gt; zcml_layer(ZCMLLayer)

Some default layers are provided for use with zope.testing, a "null" layer that
specifically does nothing. This is useful for layers which inherit from other
layers but where you don't want setup/teardown functions run twice (is this a
zope.testing bug?):

    &gt;&gt;&gt; class ExampleNullLayer(ZCMLLayer):
    ...     pass
    &gt;&gt;&gt; null_layer(ExampleNullLayer)


Changes
=======

1.0.0 (2008-11-21)
------------------

- Initial Release</description>
<homepage rdf:resource="http://pypi.python.org/pypi/van.timeformat" />
<maintainer><foaf:Person><foaf:name>Vanguardistas LLC</foaf:name>
</foaf:Person></maintainer>
<release><Version><revision>1.0.0</revision></Version></release>
</Project></rdf:RDF>