Пример #1
0
import unittest
import test_investigator
import test_location
import test_area
import test_board
import test_skillcheck

if __name__=="__main__":
	print ''
	print '******************************************'
	print '* Test suite for Turku Horror initiated: *'
	print '******************************************'
	print ''
	investigatorSuite = test_investigator.suite()
	locationSuite = test_location.suite()
	areaSuite = test_area.suite()
	boardSuite = test_board.suite()
	skillcheckSuite = test_skillcheck.suite()
	allTestSuites = unittest.TestSuite([investigatorSuite, locationSuite, areaSuite, \
	boardSuite, skillcheckSuite])
	runner = unittest.TextTestRunner(verbosity=2)
	runner.run(allTestSuites)
Пример #2
0
class SetupTests(unittest.TestCase):
    def test_setup(self):
        self.assertTrue(True)


if __name__ == '__main__':

    import test_processing, test_migration, test_location, test_hdf5, test_nllstuff, test_correlation
    import test_double_diff, test_clustering, test_kurtogram
    import logging
    logging.basicConfig(level=logging.INFO,
                        format='%(levelname)s : %(asctime)s : %(message)s')

    suite_list = [
        suite(),
        test_processing.suite(),
        test_migration.suite(),
        test_location.suite(),
        test_hdf5.suite(),
        test_nllstuff.suite(),
        test_kurtogram.suite(),
        test_correlation.suite(),
        test_clustering.suite(),
        test_double_diff.suite(),
    ]

    alltests = unittest.TestSuite(suite_list)

    unittest.TextTestRunner(verbosity=2).run(alltests)
Пример #3
0

class SetupTests(unittest.TestCase):

  def test_setup(self):
    self.assertTrue(True)

if __name__ == '__main__':

  import test_processing, test_migration, test_location, test_hdf5, test_nllstuff, test_correlation
  import test_double_diff, test_clustering
  import logging
  logging.basicConfig(level=logging.INFO, format='%(levelname)s : %(asctime)s : %(message)s')
 

  suite_list=[suite(),
    test_processing.suite(),
    test_migration.suite(),
    test_location.suite(),
    test_hdf5.suite(),
    test_nllstuff.suite(),
    test_correlation.suite(),
    test_clustering.suite(),
    test_double_diff.suite(),
    ]

  alltests=unittest.TestSuite(suite_list)

  unittest.TextTestRunner(verbosity=2).run(alltests)