source: products/qPingTool/branches/plone-3.1/tests/tests.py

Last change on this file was 197, checked in by crchemist, 18 years ago

column view in configlet for content types in Plone-2.1 added

File size: 1.1 KB
Line 
1import unittest
2
3from zope.testing import doctestunit
4from zope.component import testing
5from Testing import ZopeTestCase as ztc
6
7from Products.Five import zcml
8from base import FunctionalTestCase
9
10def test_suite():
11    return unittest.TestSuite([
12
13        # Unit tests
14        #doctestunit.DocFileSuite(
15        #    'README.txt', package='cmsinfo.productinfo',
16        #    setUp=testing.setUp, tearDown=testing.tearDown),
17
18        doctestunit.DocTestSuite(
19            module='Products.qPingTool.PingTool',
20            setUp=testing.setUp, tearDown=testing.tearDown),
21
22        doctestunit.DocTestSuite(
23            module='Products.qPingTool.adapter',
24            setUp=testing.setUp, tearDown=testing.tearDown),
25
26        # Integration tests that use PloneTestCase
27        #ztc.ZopeDocFileSuite(
28        #    'README.txt', package='cmsinfo.productinfo',
29        #    test_class=TestCase),
30
31        ztc.FunctionalDocFileSuite(
32            'browser.txt', package='Products.qPingTool.tests',
33            test_class=FunctionalTestCase),
34
35        ])
36
37if __name__ == '__main__':
38    unittest.main(defaultTest='test_suite')
Note: See TracBrowser for help on using the repository browser.