KarrLab / de_sim / #256 / 3.7.6

Info

Statistics

  • Test classes: 33
  • Test cases: 99
  • Pass rate (%): 100.0
  • Time (s): 68.05

Test cases

Class Case File Line Result Time (s)
tests.test_api.ApiTestCase test tests/test_api.py 15 Pass 0.002
tests.test_mock_simulation_object.TestMockSimul... test tests/test_mock_simulation_... 30 Pass 0.006
tests.test_simulation_config.TestSimulationConfig test tests/test_simulation_confi... 41 Pass 0.002
tests.test_simulation_object.TestSimObjClassPri... test tests/test_simulation_objec... 336 Pass 0.002
tests.test_utilities.TestConcreteClass test tests/test_utilities.py 43 Pass 0.003
tests.test_visualize.TestVisualize test tests/test_visualize.py 39 Pass 0.270
tests.test_simulation_checkpoint_object.TestChe... test_abstract_checkpoint_si... tests/test_simulation_check... 108 Pass 0.075
tests.test_utilities.TestFastLogger test_active_logger tests/test_utilities.py 90 Pass 0.003
tests.test_simulation_config.TestSimulationConfig test_all_fields tests/test_simulation_confi... 110 Pass 0.002
tests.test_simulation_object.TestSimObjClassPri... test_assign_decreasing_prio... tests/test_simulation_objec... 340 Pass 0.002
tests.test_simulation_metadata.TestSimulationMe... test_as_dict tests/test_simulation_metad... 118 Pass 0.172
tests.test_simulation_object.TestSimulationObject test_attributes tests/test_simulation_objec... 387 Pass 0.035
tests.test_simulation_metadata.TestSimulationMe... test_author_metadata tests/test_simulation_metad... 67 Pass 0.159
tests.test_simulation_metadata.TestSimulationMe... test_build_metadata tests/test_simulation_metad... 54 Pass 0.162
tests.test_simulation_checkpoint_object.TestChe... test_checkpoint_simulation_... tests/test_simulation_check... 131 Pass 0.068
tests.test_simulation_checkpoint_object.TestChe... test_checkpoint_simulation_... tests/test_simulation_check... 168 Pass 0.014
tests.test_simulation_message.TestSimulationMes... test_comparison tests/test_simulation_messa... 67 Pass 0.002
tests.test_simulation_object.TestEventQueue test_concurrent_events tests/test_simulation_objec... 66 Pass 0.032
tests.test_utilities.TestFastLogger test_config tests/test_utilities.py 121 Pass 0.015
tests.test_checkpoint.TestAccessCheckpointsLog test_constructor_creates_ch... tests/test_checkpoint.py 91 Pass 0.002
tests.test_simulation_object.TestApplicationSim... test_correct_code tests/test_simulation_objec... 181 Pass 0.008
tests.test_simulation_engine.TestSimulationEngine test_cyclical_messaging_net... tests/test_simulation_engin... 332 Pass 0.110
tests.test_simulation_config.TestSimulationConfig test_deepcopy tests/test_simulation_confi... 154 Pass 0.002
tests.test_checkpoint.TestCheckpoint test_equality tests/test_checkpoint.py 54 Pass 0.004
tests.test_simulation_metadata.TestSimulationMe... test_equality tests/test_simulation_metad... 71 Pass 0.159
tests.test_errors.TestErrors test_errors tests/test_errors.py 21 Pass 0.001
tests.test_simulation_object.TestApplicationSim... test_errors tests/test_simulation_objec... 236 Pass 0.003
tests.test_simulation_object.TestSimulationObject test_event_exceptions tests/test_simulation_objec... 487 Pass 0.036
tests.test_event.TestEvent test_event_inequalities tests/test_event.py 44 Pass 0.017
tests.test_event.TestEvent test_event_w_message tests/test_event.py 91 Pass 0.033
tests.test_simulation_metadata.TestSimulationMe... test_exceptions tests/test_simulation_metad... 135 Pass 0.162
tests.test_simulation_object.TestEventQueue test_exceptions tests/test_simulation_objec... 104 Pass 0.031
tests.test_simulation_object.TestSimulationObject test_exceptions tests/test_simulation_objec... 393 Pass 0.034
tests.test_template_sim_objs.TestTemplatePeriod... test_exceptions tests/test_template_sim_obj... 54 Pass 0.003
tests.test_utilities.TestFastLogger test_fast_log tests/test_utilities.py 109 Pass 0.087
tests.test_simulation_object.TestEventQueue test_filtered_render tests/test_simulation_objec... 150 Pass 0.021
tests.config.test_core.TestCore test_get_config tests/config/test_core.py 18 Pass 0.007
tests.test_visualize.TestVisualize test_get_data tests/test_visualize.py 61 Pass 0.004
tests.config.test_core.TestCore test_get_debug_logs tests/config/test_core.py 24 Pass 0.023
tests.test_checkpoint.TestAccessCheckpoints test_get_file_name tests/test_checkpoint.py 73 Pass 0.001
tests.test_utilities.TestFastLogger test_get_level tests/test_utilities.py 102 Pass 0.003
tests.test_event.TestEvent test_get_order_time tests/test_event.py 36 Pass 0.009
tests.test_simulation_object.TestSimulationObject test_get_receiving_prioriti... tests/test_simulation_objec... 411 Pass 0.034
tests.test_simulation_engine.TestSimulationEngine test_get_sim_config tests/test_simulation_engin... 163 Pass 0.013
tests.test_utilities.TestFastLogger test_is_active tests/test_utilities.py 98 Pass 0.003
tests.test_event.TestStrMapFunctions test_iterable_not_str tests/test_event.py 140 Pass 0.002
tests.examples.test_jupyter_examples.ExamplesTe... test_jupyter tests/examples/test_jupyter... 40 Skipped 0.002
tests.test_simulation_engine.TestSimulationEngine test_mem_use_measurement tests/test_simulation_engin... 548 Pass 48.883
tests.test_simulation_engine.TestSimulationEngine test_message_queues tests/test_simulation_engin... 339 Pass 0.120
tests.test_simulation_engine.TestSimulationEngine test_metadata_collection tests/test_simulation_engin... 371 Pass 0.271
tests.examples.test_minimal_simulation.TestMini... test_minimal_simulation_par... tests/examples/test_minimal... 29 Pass 0.004
tests.examples.test_minimal_simulation.TestMini... test_minimal_simulation_rep... tests/examples/test_minimal... 24 Pass 0.202
tests.test_simulation_object.TestSimulationObject test_misc tests/test_simulation_objec... 505 Pass 0.039
tests.test_checkpoint.TestAccessCheckpointsLog test_mock_simulator tests/test_checkpoint.py 98 Pass 0.025
tests.test_simulation_engine.TestSimulationEngine test_multi_interacting_obje... tests/test_simulation_engin... 316 Pass 0.115
tests.test_simulation_engine.TestSimulationEngine test_multi_object_simulatio... tests/test_simulation_engin... 300 Pass 0.105
tests.test_event.TestStrMapFunctions test_nested_elements_to_str tests/test_event.py 153 Pass 0.001
tests.test_simulation_object.TestEventQueue test_next_event_obj tests/test_simulation_objec... 51 Pass 0.024
tests.test_simulation_object.TestEventQueue test_next_event_time tests/test_simulation_objec... 46 Pass 0.030
tests.test_template_sim_objs.TestTemplatePeriod... test_non_zero_time_init tests/test_template_sim_obj... 58 Pass 0.220
tests.test_simulation_engine.TestSimulationEngine test_one_object_simulation_... tests/test_simulation_engin... 191 Pass 0.086
tests.test_simulation_engine.TestSimulationEngine test_performance tests/test_simulation_engin... 474 Skipped 0.002
tests.examples.test_phold.TestPhold test_phold_parse_args tests/examples/test_phold.py 50 Pass 0.006
tests.examples.test_phold.TestPhold test_phold_parse_args_errors tests/examples/test_phold.py 66 Pass 0.049
tests.examples.test_phold.TestPhold test_phold_reproducibility tests/examples/test_phold.py 42 Pass 0.634
tests.test_simulation_config.TestPickleSimulati... test_prepare_to_pickle tests/test_simulation_confi... 187 Pass 0.002
tests.test_simulation_engine.TestSimulationEngine test_profiling tests/test_simulation_engin... 523 Pass 0.754
tests.test_utilities.TestSimulationProgressBar test_progress tests/test_utilities.py 51 Pass 0.079
tests.test_simulation_engine.TestSimulationEngine test_progress_bar tests/test_simulation_engin... 275 Pass 0.721
tests.examples.test_sirs.TestSIRs test_P_minor_outbreak tests/examples/test_sirs.py 74 Pass 11.102
tests.examples.test_random_walk.TestRandomState... test_random_walk_simulation tests/examples/test_random_... 30 Pass 0.241
tests.test_simulation_object.TestEventQueue test_render tests/test_simulation_objec... 121 Pass 0.056
tests.test_simulation_object.TestSimulationObject test_render_event_queue tests/test_simulation_objec... 474 Pass 0.040
tests.test_simulation_engine.TestSimulationRepr... test_reproducibility tests/test_simulation_engin... 622 Pass 0.121
tests.test_simulation_object.TestEventQueue test_reset tests/test_simulation_objec... 40 Pass 0.023
tests.examples.test_sirs.TestSIRs test_run_sir tests/examples/test_sirs.py 47 Pass 0.647
tests.test_simulation_config.TestSimulationConfig test_semantically_equal tests/test_simulation_confi... 158 Pass 0.002
tests.test_simulation_metadata.TestSimulationMe... test_semantically_equal tests/test_simulation_metad... 83 Pass 0.175
tests.test_simulation_object.TestSimulationObject test_send_events tests/test_simulation_objec... 417 Pass 0.031
tests.test_simulation_config.TestSimulationConfig test_setattr tests/test_simulation_confi... 59 Pass 0.002
tests.test_simulation_object.TestApplicationSim... test_set_class_priority tests/test_simulation_objec... 359 Pass 0.007
tests.test_simulation_message.TestSimulationMes... test_simple_msg tests/test_simulation_messa... 55 Pass 0.001
tests.test_simulation_object.TestEventQueue test_simple_next_events tests/test_simulation_objec... 56 Pass 0.024
tests.test_simulation_engine.TestSimulationEngine test_simulate_and_run tests/test_simulation_engin... 185 Pass 0.189
tests.test_simulation_engine.TestSimulationEngine test_simulation_end tests/test_simulation_engin... 248 Pass 0.110
tests.test_simulation_engine.TestSimulationEngine test_simulation_engine_exce... tests/test_simulation_engin... 198 Pass 0.125
tests.test_simulation_message.TestSimulationMes... test_simulation_message_meta tests/test_simulation_messa... 93 Pass 0.003
tests.test_simulation_engine.TestSimulationEngine test_simulation_stop_condition tests/test_simulation_engin... 254 Pass 0.231
tests.test_simulation_object.TestSimulationObject test_simultaneous_event_times tests/test_simulation_objec... 432 Pass 0.038
tests.test_simulation_metadata.TestSimulationMe... test_str tests/test_simulation_metad... 125 Pass 0.171
tests.test_simulation_engine.TestSuperposition test_superposition tests/test_simulation_engin... 713 Pass 0.093
tests.test_simulation_engine.TestSuperposition test_superposition_exception tests/test_simulation_engin... 722 Pass 0.100
tests.test_simulation_engine.TestSimulationEngine test_suspend_restore_logging tests/test_simulation_engin... 451 Pass 0.023
tests.test_template_sim_objs.TestTemplatePeriod... test_TemplatePeriodicSimula... tests/test_template_sim_obj... 30 Pass 0.113
tests.test_simulation_message.TestSimulationMes... test_utils tests/test_simulation_messa... 33 Pass 0.003
tests.test_simulation_config.TestSimulationConfig test_validate tests/test_simulation_confi... 129 Pass 0.003
tests.test_simulation_config.TestSimulationConfig test_validate_individual_fi... tests/test_simulation_confi... 72 Pass 0.004
tests.test_simulation_object.TestApplicationSim... test_warnings tests/test_simulation_objec... 307 Pass 0.002
tests.test_simulation_metadata.TestSimulationMe... test_write_and_read tests/test_simulation_metad... 131 Pass 0.161