Add subunit.Content python class for serialisation.
[third_party/subunit] / python / subunit / tests / __init__.py
1 #
2 #  subunit: extensions to python unittest to get test results from subprocesses.
3 #  Copyright (C) 2005  Robert Collins <robertc@robertcollins.net>
4 #
5 #  Licensed under either the Apache License, Version 2.0 or the BSD 3-clause
6 #  license at the users choice. A copy of both licenses are available in the
7 #  project source as Apache-2.0 and BSD. You may not use this file except in
8 #  compliance with one of these two licences.
9 #  
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT
12 #  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
13 #  license you chose for the specific language governing permissions and
14 #  limitations under that license.
15 #
16
17 from subunit.tests import (
18     TestUtil,
19     test_content_type,
20     test_content,
21     test_progress_model,
22     test_subunit_filter,
23     test_subunit_stats,
24     test_subunit_tags,
25     test_tap2subunit,
26     test_test_protocol,
27     test_test_results,
28     )
29
30 def test_suite():
31     result = TestUtil.TestSuite()
32     result.addTest(test_content_type.test_suite())
33     result.addTest(test_content.test_suite())
34     result.addTest(test_progress_model.test_suite())
35     result.addTest(test_test_results.test_suite())
36     result.addTest(test_test_protocol.test_suite())
37     result.addTest(test_tap2subunit.test_suite())
38     result.addTest(test_subunit_filter.test_suite())
39     result.addTest(test_subunit_tags.test_suite())
40     result.addTest(test_subunit_stats.test_suite())
41     return result