def _test_app()

in appengine/integration_tests/testsuite/driver.py [0:0]


def _test_app(base_url, args):
    logging.info('Starting app test with base url {0}'.format(base_url))

    suite = unittest.TestSuite()

    suite.addTest(test_root.TestRoot(base_url))

    if args.standard_logging:
        suite.addTest(test_logging_standard.TestStandardLogging(base_url))

    if args.custom_logging:
        suite.addTest(test_logging_custom.TestCustomLogging(base_url))

    if args.monitoring:
        suite.addTest(test_monitoring.TestMonitoring(base_url))

    if args.exception:
        suite.addTest(test_exception.TestException(base_url))

    if args.custom:
        suite.addTest(test_custom.TestCustom(base_url))

    return not unittest.TextTestRunner(verbosity=4).run(suite).wasSuccessful()