Last change
on this file since 1631 was
965,
checked in by crchemist, 17 years ago
|
Created dir for testing bundles
|
File size:
966 bytes
|
Line | |
---|
1 | import unittest |
---|
2 | |
---|
3 | from zope.testing import doctestunit |
---|
4 | from zope.component import testing |
---|
5 | from Testing import ZopeTestCase as ztc |
---|
6 | |
---|
7 | from base import getToolByName, TestCase |
---|
8 | |
---|
9 | def test_suite(): |
---|
10 | return unittest.TestSuite([ |
---|
11 | |
---|
12 | # Unit tests |
---|
13 | #doctestunit.DocFileSuite( |
---|
14 | # 'README.txt', package='quintagroup.plonecomments', |
---|
15 | # setUp=testing.setUp, tearDown=testing.tearDown), |
---|
16 | |
---|
17 | #doctestunit.DocTestSuite( |
---|
18 | # module='quintagroup.plonecomments.mymodule', |
---|
19 | # setUp=testing.setUp, tearDown=testing.tearDown), |
---|
20 | |
---|
21 | |
---|
22 | # Integration tests that use PloneTestCase |
---|
23 | #ztc.ZopeDocFileSuite( |
---|
24 | # 'README.txt', package='quintagroup.plonecomments', |
---|
25 | # test_class=TestCase), |
---|
26 | |
---|
27 | #ztc.FunctionalDocFileSuite( |
---|
28 | # 'browser.txt', package='quintagroup.plonecomments', |
---|
29 | # test_class=TestCase), |
---|
30 | |
---|
31 | ]) |
---|
32 | |
---|
33 | if __name__ == '__main__': |
---|
34 | unittest.main(defaultTest='test_suite') |
---|
Note: See
TracBrowser
for help on using the repository browser.