#!/usr/bin/env python # Categorized tests. import unittest class FeatureOneTests(unittest.TestCase): "Unit tests for feature1" PROCTOR_TEST_CATEGORIES = ( 'feature1',) def test(self): return class FeatureOneAndTwoTests(unittest.TestCase): "Integration tests for feature1 and feature2" PROCTOR_TEST_CATEGORIES = ( 'feature1', 'feature2', ) def test1(self): return def test2(self): return class UncategorizedTests(unittest.TestCase): "Not in any category" def test(self): return if __name__ == '__main__': unittest.main()