Ability to run all tests from utils/run_tests.sh #84

Closed
derks opened this Issue Dec 21, 2011 · 1 comment

Comments

Projects
None yet
1 participant
@derks
Member

derks commented Dec 21, 2011

No description provided.

@ghost ghost assigned derks Dec 21, 2011

@derks

This comment has been minimized.

Show comment
Hide comment
@derks

derks Dec 21, 2011

Member
$ ./utils/run_tests.sh
...
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
tests.core.backend_tests.test_verify_defaults('base', 'plugin_config_dir') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'app_name') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'plugin_handler') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'config_handler') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'config_source') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'log_handler') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'extension_handler') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'config_files') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'plugin_dir') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'extensions') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'plugin_bootstrap_module') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'plugins') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'debug') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'output_handler') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'arg_handler') ... ok
tests.core.backend_tests.test_minimal_logger ... ok
tests.core.backend_tests.test_appname_underscore ... ok
tests.core.backend_tests.test_bad_appname_chars ... ok
tests.core.config_tests.test_invalid_config_handler ... ok
tests.core.config_tests.test_has_key ... ok
tests.core.controller_tests.test_invalid_controller ... ok
tests.core.controller_tests.test_invalid_arguments_tuple ... ok
tests.core.controller_tests.test_invalid_arguments_dict ... ok
tests.core.controller_tests.test_invalid_arguments_list ... ok
tests.core.controller_tests.test_base_controller ... ok
tests.core.controller_tests.test_stacked_controller ... ok
tests.core.controller_tests.test_secondary_controller ... ok
tests.core.controller_tests.test_default_command ... ok
tests.core.controller_tests.test_command_alias ... ok
tests.core.controller_tests.test_stacked_command ... ok
tests.core.controller_tests.test_duplicate_alias ... ok
tests.core.controller_tests.test_duplicate_hidden_command ... ok
tests.core.controller_tests.test_bad_command ... usage: nosetests  -opt1 --opt2=VAL [arg1] [arg2] ...
nosetests: error: unrecognized arguments: bogus-command
ok
tests.core.controller_tests.test_bad_command2 ... ok
tests.core.controller_tests.test_controller_defaults ... ok
tests.core.controller_tests.test_same_name_controller ... ok
tests.core.controller_tests.test_same_name_alias_controller ... ok
tests.core.exc_tests.test_cement_config_error ... ok
tests.core.exc_tests.test_cement_runtime_error ... ok
tests.core.exc_tests.test_cement_argument_error ... ok
tests.core.exc_tests.test_cement_interface_error ... ok
tests.core.exc_tests.test_cement_signal_error ... ok
tests.core.extension_tests.test_invalid_extension_handler ... ok
tests.core.extension_tests.test_load_extensions ... ok
tests.core.extension_tests.test_load_extensions_again ... ok
tests.core.extension_tests.test_load_bogus_extension ... ok
tests.core.foundation_tests.test_default ... usage: nosetests [-h] [--debug] [--quiet]
nosetests: error: unrecognized arguments: --verbosity=3 src/cement2 src/cement2.ext.configobj src/cement2.ext.json src/cement2.ext.yaml
ok
tests.core.foundation_tests.test_passed_handlers ... 2011-12-21 16:03:14,676 (DEBUG) test : logging initialized for 'test' using LoggingLogHandler
ok
tests.core.foundation_tests.test_null_out ... ok
tests.core.foundation_tests.test_render ... ok
tests.core.foundation_tests.test_bad_app_name ... ok
tests.core.foundation_tests.test_add_arg_shortcut ... ok
tests.core.foundation_tests.test_reset_output_handler ... ok
tests.core.foundation_tests.test_controller_handler ... ok
tests.core.foundation_tests.test_lay_cement ... ok
tests.core.foundation_tests.test_framework_hooks ... ok
tests.core.foundation_tests.test_none_member ... ok
tests.core.foundation_tests.test_cement_signal_handler ... ok
tests.core.foundation_tests.test_cement_without_signals ... ok
tests.core.handler_tests.test_get_invalid_handler ... ok
tests.core.handler_tests.test_register_invalid_handler ... ok
tests.core.handler_tests.test_register_invalid_handler_no_Meta ... ok
tests.core.handler_tests.test_register_invalid_handler_no_Meta_label ... ok
tests.core.handler_tests.test_register_duplicate_handler ... ok
tests.core.handler_tests.test_register_unproviding_handler ... ok
tests.core.handler_tests.test_verify_handler ... ok
tests.core.handler_tests.test_get_bogus_handler ... ok
tests.core.handler_tests.test_get_bogus_handler_type ... ok
tests.core.handler_tests.test_handler_defined('config',) ... ok
tests.core.handler_tests.test_handler_defined('log',) ... ok
tests.core.handler_tests.test_handler_defined('argument',) ... ok
tests.core.handler_tests.test_handler_defined('plugin',) ... ok
tests.core.handler_tests.test_handler_defined('extension',) ... ok
tests.core.handler_tests.test_handler_defined('output',) ... ok
tests.core.handler_tests.test_handler_defined('controller',) ... ok
tests.core.handler_tests.test_bogus_interface_no_IMeta ... ok
tests.core.handler_tests.test_bogus_interface_no_IMeta_label ... ok
tests.core.handler_tests.test_define_duplicate_interface ... ok
tests.core.handler_tests.test_interface_with_no_validator ... ok
tests.core.hook_tests.test_define ... ok
tests.core.hook_tests.test_define_again ... ok
tests.core.hook_tests.test_hooks_registered ... ok
tests.core.hook_tests.test_run ... ok
tests.core.hook_tests.test_run_bad_hook ... ok
tests.core.hook_tests.test_hook_is_defined ... ok
tests.core.hook_tests.test_framework_hooks ... ok
tests.core.interface_tests.test_interface_class ... ok
tests.core.interface_tests.test_attribute_class ... ok
tests.core.interface_tests.test_validator ... ok
tests.core.interface_tests.test_validate_bad_interface ... ok
tests.core.interface_tests.test_validate_bad_interface_no_Meta ... ok
tests.core.interface_tests.test_old_interface_imeta ... ok
tests.core.log_tests.test_unproviding_handler ... ok
tests.core.log_tests.test_logging ... ok
tests.core.log_tests.test_bogus_log_level ... ok
tests.core.log_tests.test_console_log ... ok
tests.core.plugin_tests.test_load_plugins_from_files ... ok
tests.core.plugin_tests.test_load_plugins_from_config ... ok
tests.core.plugin_tests.test_disabled_plugins_from_files ... ok
tests.core.plugin_tests.test_bogus_plugin_from_files ... ok
tests.core.plugin_tests.test_bad_plugin_dir ... ok
tests.core.plugin_tests.test_load_plugin_from_module ... ok
tests.ext.test_ext_daemon.test_switch ... ok
tests.ext.test_ext_daemon.test_switch_with_pid ... ok
tests.ext.test_ext_daemon.test_pid_exists ... ok
tests.ext.test_ext_daemon.test_bogus_user ... ok
tests.ext.test_ext_daemon.test_bogus_group ... ok
tests.ext.test_ext_daemon.test_daemon ... ok
tests.ext.test_ext_daemon.test_daemon_not_passed ... ok
tests.ext.test_ext_logging.test_bad_level ... ok
tests.ext.test_ext_logging.test_clear_loggers ... ok
tests.ext.test_ext_logging.test_rotate ... ok
tests.ext.test_ext_optparse.test_optparse ... ok
tests.ext.test_ext_configobj.test_configobj ... ok
tests.ext.test_ext_configobj.test_has_key ... ok
tests.ext.test_ext_json.test_json ... ok
tests.ext.test_ext_yaml.test_yaml ... ok

----------------------------------------------------------------------
Ran 117 tests in 0.627s

OK


Name                                                  Stmts   Miss  Cover
-------------------------------------------------------------------------
src/cement2.ext.configobj/cement2/ext/ext_configobj       3      0   100%
src/cement2.ext.configobj/cement2/lib/ext_configobj      48      0   100%
src/cement2.ext.json/cement2/ext/ext_json                 5      0   100%
src/cement2.ext.json/cement2/lib/ext_json                18      0   100%
src/cement2.ext.yaml/cement2/ext/ext_yaml                 6      0   100%
src/cement2.ext.yaml/cement2/lib/ext_yaml                17      0   100%
src/cement2/cement2/core/__init__                         0      0   100%
src/cement2/cement2/core/arg                             14      0   100%
src/cement2/cement2/core/backend                         46      0   100%
src/cement2/cement2/core/config                          18      0   100%
src/cement2/cement2/core/controller                     196      0   100%
src/cement2/cement2/core/exc                             22      0   100%
src/cement2/cement2/core/extension                       37      0   100%
src/cement2/cement2/core/foundation                     227      0   100%
src/cement2/cement2/core/handler                         60      0   100%
src/cement2/cement2/core/hook                            33      0   100%
src/cement2/cement2/core/interface                       25      0   100%
src/cement2/cement2/core/log                             18      0   100%
src/cement2/cement2/core/output                          12      0   100%
src/cement2/cement2/core/plugin                          16      0   100%
src/cement2/cement2/core/util                             4      0   100%
src/cement2/cement2/ext/ext_argparse                      3      0   100%
src/cement2/cement2/ext/ext_configparser                  3      0   100%
src/cement2/cement2/ext/ext_daemon                       37      0   100%
src/cement2/cement2/ext/ext_logging                       3      0   100%
src/cement2/cement2/ext/ext_nulloutput                    3      0   100%
src/cement2/cement2/ext/ext_optparse                      3      0   100%
src/cement2/cement2/ext/ext_plugin                        3      0   100%
src/cement2/cement2/lib/ext_argparse                     18      0   100%
src/cement2/cement2/lib/ext_configparser                 37      0   100%
src/cement2/cement2/lib/ext_daemon                       75     12    84%
src/cement2/cement2/lib/ext_logging                     106      0   100%
src/cement2/cement2/lib/ext_nulloutput                   12      0   100%
src/cement2/cement2/lib/ext_optparse                     18      0   100%
src/cement2/cement2/lib/ext_plugin                       71      0   100%
src/cement2/cement2/test_helper                          26      0   100%
-------------------------------------------------------------------------
TOTAL                                                  1243     12    99%
Member

derks commented Dec 21, 2011

$ ./utils/run_tests.sh
...
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
tests.core.backend_tests.test_verify_defaults('base', 'plugin_config_dir') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'app_name') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'plugin_handler') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'config_handler') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'config_source') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'log_handler') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'extension_handler') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'config_files') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'plugin_dir') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'extensions') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'plugin_bootstrap_module') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'plugins') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'debug') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'output_handler') ... ok
tests.core.backend_tests.test_verify_defaults('base', 'arg_handler') ... ok
tests.core.backend_tests.test_minimal_logger ... ok
tests.core.backend_tests.test_appname_underscore ... ok
tests.core.backend_tests.test_bad_appname_chars ... ok
tests.core.config_tests.test_invalid_config_handler ... ok
tests.core.config_tests.test_has_key ... ok
tests.core.controller_tests.test_invalid_controller ... ok
tests.core.controller_tests.test_invalid_arguments_tuple ... ok
tests.core.controller_tests.test_invalid_arguments_dict ... ok
tests.core.controller_tests.test_invalid_arguments_list ... ok
tests.core.controller_tests.test_base_controller ... ok
tests.core.controller_tests.test_stacked_controller ... ok
tests.core.controller_tests.test_secondary_controller ... ok
tests.core.controller_tests.test_default_command ... ok
tests.core.controller_tests.test_command_alias ... ok
tests.core.controller_tests.test_stacked_command ... ok
tests.core.controller_tests.test_duplicate_alias ... ok
tests.core.controller_tests.test_duplicate_hidden_command ... ok
tests.core.controller_tests.test_bad_command ... usage: nosetests  -opt1 --opt2=VAL [arg1] [arg2] ...
nosetests: error: unrecognized arguments: bogus-command
ok
tests.core.controller_tests.test_bad_command2 ... ok
tests.core.controller_tests.test_controller_defaults ... ok
tests.core.controller_tests.test_same_name_controller ... ok
tests.core.controller_tests.test_same_name_alias_controller ... ok
tests.core.exc_tests.test_cement_config_error ... ok
tests.core.exc_tests.test_cement_runtime_error ... ok
tests.core.exc_tests.test_cement_argument_error ... ok
tests.core.exc_tests.test_cement_interface_error ... ok
tests.core.exc_tests.test_cement_signal_error ... ok
tests.core.extension_tests.test_invalid_extension_handler ... ok
tests.core.extension_tests.test_load_extensions ... ok
tests.core.extension_tests.test_load_extensions_again ... ok
tests.core.extension_tests.test_load_bogus_extension ... ok
tests.core.foundation_tests.test_default ... usage: nosetests [-h] [--debug] [--quiet]
nosetests: error: unrecognized arguments: --verbosity=3 src/cement2 src/cement2.ext.configobj src/cement2.ext.json src/cement2.ext.yaml
ok
tests.core.foundation_tests.test_passed_handlers ... 2011-12-21 16:03:14,676 (DEBUG) test : logging initialized for 'test' using LoggingLogHandler
ok
tests.core.foundation_tests.test_null_out ... ok
tests.core.foundation_tests.test_render ... ok
tests.core.foundation_tests.test_bad_app_name ... ok
tests.core.foundation_tests.test_add_arg_shortcut ... ok
tests.core.foundation_tests.test_reset_output_handler ... ok
tests.core.foundation_tests.test_controller_handler ... ok
tests.core.foundation_tests.test_lay_cement ... ok
tests.core.foundation_tests.test_framework_hooks ... ok
tests.core.foundation_tests.test_none_member ... ok
tests.core.foundation_tests.test_cement_signal_handler ... ok
tests.core.foundation_tests.test_cement_without_signals ... ok
tests.core.handler_tests.test_get_invalid_handler ... ok
tests.core.handler_tests.test_register_invalid_handler ... ok
tests.core.handler_tests.test_register_invalid_handler_no_Meta ... ok
tests.core.handler_tests.test_register_invalid_handler_no_Meta_label ... ok
tests.core.handler_tests.test_register_duplicate_handler ... ok
tests.core.handler_tests.test_register_unproviding_handler ... ok
tests.core.handler_tests.test_verify_handler ... ok
tests.core.handler_tests.test_get_bogus_handler ... ok
tests.core.handler_tests.test_get_bogus_handler_type ... ok
tests.core.handler_tests.test_handler_defined('config',) ... ok
tests.core.handler_tests.test_handler_defined('log',) ... ok
tests.core.handler_tests.test_handler_defined('argument',) ... ok
tests.core.handler_tests.test_handler_defined('plugin',) ... ok
tests.core.handler_tests.test_handler_defined('extension',) ... ok
tests.core.handler_tests.test_handler_defined('output',) ... ok
tests.core.handler_tests.test_handler_defined('controller',) ... ok
tests.core.handler_tests.test_bogus_interface_no_IMeta ... ok
tests.core.handler_tests.test_bogus_interface_no_IMeta_label ... ok
tests.core.handler_tests.test_define_duplicate_interface ... ok
tests.core.handler_tests.test_interface_with_no_validator ... ok
tests.core.hook_tests.test_define ... ok
tests.core.hook_tests.test_define_again ... ok
tests.core.hook_tests.test_hooks_registered ... ok
tests.core.hook_tests.test_run ... ok
tests.core.hook_tests.test_run_bad_hook ... ok
tests.core.hook_tests.test_hook_is_defined ... ok
tests.core.hook_tests.test_framework_hooks ... ok
tests.core.interface_tests.test_interface_class ... ok
tests.core.interface_tests.test_attribute_class ... ok
tests.core.interface_tests.test_validator ... ok
tests.core.interface_tests.test_validate_bad_interface ... ok
tests.core.interface_tests.test_validate_bad_interface_no_Meta ... ok
tests.core.interface_tests.test_old_interface_imeta ... ok
tests.core.log_tests.test_unproviding_handler ... ok
tests.core.log_tests.test_logging ... ok
tests.core.log_tests.test_bogus_log_level ... ok
tests.core.log_tests.test_console_log ... ok
tests.core.plugin_tests.test_load_plugins_from_files ... ok
tests.core.plugin_tests.test_load_plugins_from_config ... ok
tests.core.plugin_tests.test_disabled_plugins_from_files ... ok
tests.core.plugin_tests.test_bogus_plugin_from_files ... ok
tests.core.plugin_tests.test_bad_plugin_dir ... ok
tests.core.plugin_tests.test_load_plugin_from_module ... ok
tests.ext.test_ext_daemon.test_switch ... ok
tests.ext.test_ext_daemon.test_switch_with_pid ... ok
tests.ext.test_ext_daemon.test_pid_exists ... ok
tests.ext.test_ext_daemon.test_bogus_user ... ok
tests.ext.test_ext_daemon.test_bogus_group ... ok
tests.ext.test_ext_daemon.test_daemon ... ok
tests.ext.test_ext_daemon.test_daemon_not_passed ... ok
tests.ext.test_ext_logging.test_bad_level ... ok
tests.ext.test_ext_logging.test_clear_loggers ... ok
tests.ext.test_ext_logging.test_rotate ... ok
tests.ext.test_ext_optparse.test_optparse ... ok
tests.ext.test_ext_configobj.test_configobj ... ok
tests.ext.test_ext_configobj.test_has_key ... ok
tests.ext.test_ext_json.test_json ... ok
tests.ext.test_ext_yaml.test_yaml ... ok

----------------------------------------------------------------------
Ran 117 tests in 0.627s

OK


Name                                                  Stmts   Miss  Cover
-------------------------------------------------------------------------
src/cement2.ext.configobj/cement2/ext/ext_configobj       3      0   100%
src/cement2.ext.configobj/cement2/lib/ext_configobj      48      0   100%
src/cement2.ext.json/cement2/ext/ext_json                 5      0   100%
src/cement2.ext.json/cement2/lib/ext_json                18      0   100%
src/cement2.ext.yaml/cement2/ext/ext_yaml                 6      0   100%
src/cement2.ext.yaml/cement2/lib/ext_yaml                17      0   100%
src/cement2/cement2/core/__init__                         0      0   100%
src/cement2/cement2/core/arg                             14      0   100%
src/cement2/cement2/core/backend                         46      0   100%
src/cement2/cement2/core/config                          18      0   100%
src/cement2/cement2/core/controller                     196      0   100%
src/cement2/cement2/core/exc                             22      0   100%
src/cement2/cement2/core/extension                       37      0   100%
src/cement2/cement2/core/foundation                     227      0   100%
src/cement2/cement2/core/handler                         60      0   100%
src/cement2/cement2/core/hook                            33      0   100%
src/cement2/cement2/core/interface                       25      0   100%
src/cement2/cement2/core/log                             18      0   100%
src/cement2/cement2/core/output                          12      0   100%
src/cement2/cement2/core/plugin                          16      0   100%
src/cement2/cement2/core/util                             4      0   100%
src/cement2/cement2/ext/ext_argparse                      3      0   100%
src/cement2/cement2/ext/ext_configparser                  3      0   100%
src/cement2/cement2/ext/ext_daemon                       37      0   100%
src/cement2/cement2/ext/ext_logging                       3      0   100%
src/cement2/cement2/ext/ext_nulloutput                    3      0   100%
src/cement2/cement2/ext/ext_optparse                      3      0   100%
src/cement2/cement2/ext/ext_plugin                        3      0   100%
src/cement2/cement2/lib/ext_argparse                     18      0   100%
src/cement2/cement2/lib/ext_configparser                 37      0   100%
src/cement2/cement2/lib/ext_daemon                       75     12    84%
src/cement2/cement2/lib/ext_logging                     106      0   100%
src/cement2/cement2/lib/ext_nulloutput                   12      0   100%
src/cement2/cement2/lib/ext_optparse                     18      0   100%
src/cement2/cement2/lib/ext_plugin                       71      0   100%
src/cement2/cement2/test_helper                          26      0   100%
-------------------------------------------------------------------------
TOTAL                                                  1243     12    99%

derks pushed a commit that referenced this issue Dec 21, 2011

@derks derks closed this Dec 21, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment