KarrLab / de_sim / #349 / 3.7.6

Info

Statistics

  • Test classes: 34
  • Test cases: 100
  • Pass rate (%): 100.0
  • Time (s): 74.67

Test cases

Class Case File Line Result Time (s)
tests.test_simulation_config.TestSimulationConfig test tests/test_simulation_confi... 41 Pass 0.005
tests.test_simulation_object.TestSimObjClassPri... test tests/test_simulation_objec... 201 Pass 0.002
tests.test_utilities.TestConcreteClass test tests/test_utilities.py 43 Pass 0.002
tests.test_visualize.TestVisualize test tests/test_visualize.py 39 Pass 0.310
tests.joss_paper.test_gen_phold_space_time_plot... test tests/joss_paper/test_gen_p... 14 Pass 3.659
tests.test_api.ApiTestCase test tests/test_api.py 15 Pass 0.002
tests.test_init.TestEvent test tests/test_init.py 15 Pass 0.002
tests.test_mock_simulation_object.TestMockSimul... test tests/test_mock_simulation_... 27 Pass 0.010
tests.test_simulation_checkpoint_object.TestChe... test_abstract_checkpoint_si... tests/test_simulation_check... 103 Pass 0.102
tests.test_utilities.TestFastLogger test_active_logger tests/test_utilities.py 90 Pass 0.002
tests.test_simulation_config.TestSimulationConfig test_all_fields tests/test_simulation_confi... 110 Pass 0.004
tests.test_simulation_object.TestSimObjClassPri... test_assign_decreasing_prio... tests/test_simulation_objec... 205 Pass 0.002
tests.test_simulation_metadata.TestSimulationMe... test_as_dict tests/test_simulation_metad... 120 Pass 0.134
tests.test_simulation_object.TestSimulationObject test_attributes tests/test_simulation_objec... 252 Pass 0.046
tests.test_simulation_metadata.TestSimulationMe... test_author_metadata tests/test_simulation_metad... 67 Pass 0.144
tests.test_simulation_metadata.TestSimulationMe... test_build_metadata tests/test_simulation_metad... 54 Pass 0.155
tests.test_simulation_checkpoint_object.TestChe... test_checkpoint_simulation_... tests/test_simulation_check... 126 Pass 0.124
tests.test_simulation_checkpoint_object.TestChe... test_checkpoint_simulation_... tests/test_simulation_check... 163 Pass 0.020
tests.test_event_message.TestEventMessageInterface test_comparison tests/test_event_message.py 68 Pass 0.002
tests.test_simulator.TestEventQueue test_concurrent_events tests/test_simulator.py 78 Pass 0.022
tests.test_utilities.TestFastLogger test_config tests/test_utilities.py 121 Pass 0.009
tests.test_checkpoint.TestAccessCheckpointsLog test_constructor_creates_ch... tests/test_checkpoint.py 91 Pass 0.006
tests.test_simulation_object.TestSimulationObjMeta test_correct_code tests/test_simulation_objec... 46 Pass 0.012
tests.test_simulator.TestSimulator test_cyclical_messaging_net... tests/test_simulator.py 471 Pass 0.145
tests.test_simulation_config.TestSimulationConfig test_deepcopy tests/test_simulation_confi... 154 Pass 0.003
tests.test_simulation_metadata.TestSimulationMe... test_equality tests/test_simulation_metad... 71 Pass 0.136
tests.test_checkpoint.TestCheckpoint test_equality tests/test_checkpoint.py 54 Pass 0.005
tests.test_simulation_object.TestSimulationObjMeta test_errors tests/test_simulation_objec... 101 Pass 0.005
tests.test_errors.TestErrors test_errors tests/test_errors.py 21 Pass 0.002
tests.test_simulation_object.TestSimulationObject test_event_exceptions tests/test_simulation_objec... 345 Pass 0.034
tests.test_event.TestEvent test_event_inequalities tests/test_event.py 42 Pass 0.029
tests.test_event.TestEvent test_event_w_message tests/test_event.py 89 Pass 0.055
tests.test_simulation_metadata.TestSimulationMe... test_exceptions tests/test_simulation_metad... 137 Pass 0.150
tests.test_simulation_object.TestSimulationObject test_exceptions tests/test_simulation_objec... 264 Pass 0.042
tests.test_simulator.TestEventQueue test_exceptions tests/test_simulator.py 116 Pass 0.020
tests.test_template_sim_objs.TestTemplatePeriod... test_exceptions tests/test_template_sim_obj... 54 Pass 0.002
tests.test_utilities.TestFastLogger test_fast_log tests/test_utilities.py 109 Pass 0.077
tests.test_simulator.TestEventQueue test_filtered_render tests/test_simulator.py 162 Pass 0.028
tests.config.test_core.TestCore test_get_config tests/config/test_core.py 18 Pass 0.004
tests.test_visualize.TestVisualize test_get_data tests/test_visualize.py 61 Pass 0.002
tests.config.test_core.TestCore test_get_debug_logs tests/config/test_core.py 24 Pass 0.011
tests.test_checkpoint.TestAccessCheckpoints test_get_file_name tests/test_checkpoint.py 73 Pass 0.002
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 34 Pass 0.015
tests.test_simulation_object.TestSimulationObject test_get_receiving_prioriti... tests/test_simulation_objec... 282 Pass 0.038
tests.test_simulator.TestSimulator test_get_sim_config tests/test_simulator.py 296 Pass 0.044
tests.test_utilities.TestFastLogger test_is_active tests/test_utilities.py 98 Pass 0.002
tests.examples.test_jupyter_examples.ExamplesTe... test_jupyter tests/examples/test_jupyter... 23 Skipped 0.001
tests.test_simulator.TestEventQueue test_len tests/test_simulator.py 49 Pass 0.021
tests.test_simulator.TestSimulator test_mem_use_measurement tests/test_simulator.py 681 Pass 50.570
tests.test_simulator.TestSimulator test_message_queues tests/test_simulator.py 478 Pass 0.128
tests.test_simulator.TestSimulator test_metadata_collection tests/test_simulator.py 504 Pass 0.249
tests.examples.test_minimal_simulation.TestMini... test_minimal_simulation_par... tests/examples/test_minimal... 29 Pass 0.002
tests.examples.test_minimal_simulation.TestMini... test_minimal_simulation_rep... tests/examples/test_minimal... 24 Pass 0.179
tests.test_checkpoint.TestAccessCheckpointsLog test_mock_simulator tests/test_checkpoint.py 98 Pass 0.052
tests.test_simulator.TestSimulator test_multi_interacting_obje... tests/test_simulator.py 455 Pass 0.096
tests.test_simulator.TestSimulator test_multi_object_simulatio... tests/test_simulator.py 439 Pass 0.108
tests.test_simulator.TestEventQueue test_next_event_obj tests/test_simulator.py 63 Pass 0.020
tests.test_simulator.TestEventQueue test_next_event_time tests/test_simulator.py 58 Pass 0.026
tests.test_template_sim_objs.TestTemplatePeriod... test_non_zero_time_init tests/test_template_sim_obj... 58 Pass 0.187
tests.test_simulator.TestSimulator test_one_object_simulation_... tests/test_simulator.py 324 Pass 0.089
tests.test_simulator.TestSimulator test_performance tests/test_simulator.py 607 Skipped 0.002
tests.examples.test_phold.TestPhold test_phold_parse_args tests/examples/test_phold.py 39 Pass 0.004
tests.examples.test_phold.TestPhold test_phold_parse_args_errors tests/examples/test_phold.py 55 Pass 0.040
tests.examples.test_phold.TestPhold test_phold_reproducibility tests/examples/test_phold.py 31 Pass 0.533
tests.test_simulation_config.TestPickleSimulati... test_prepare_to_pickle tests/test_simulation_confi... 188 Pass 0.006
tests.test_simulator.TestSimulator test_profiling tests/test_simulator.py 656 Pass 0.706
tests.test_utilities.TestSimulationProgressBar test_progress tests/test_utilities.py 51 Pass 0.068
tests.test_simulator.TestSimulator test_progress_bar tests/test_simulator.py 414 Pass 0.568
tests.examples.test_sirs.TestSIRs test_P_minor_outbreak tests/examples/test_sirs.py 81 Pass 12.101
tests.examples.test_random_walk.TestRandomState... test_random_walk_simulation tests/examples/test_random_... 18 Pass 0.601
tests.test_simulator.TestEventQueue test_render tests/test_simulator.py 133 Pass 0.043
tests.test_simulator.TestSimulationReproducibility test_reproducibility tests/test_simulator.py 755 Pass 0.112
tests.test_simulator.TestEventQueue test_reset tests/test_simulator.py 52 Pass 0.017
tests.examples.test_sirs.TestSIRs test_run_sir tests/examples/test_sirs.py 51 Pass 0.718
tests.test_simulation_config.TestSimulationConfig test_semantically_equal tests/test_simulation_confi... 158 Pass 0.003
tests.test_simulation_metadata.TestSimulationMe... test_semantically_equal tests/test_simulation_metad... 83 Pass 0.154
tests.test_simulation_object.TestSimulationObject test_send_events tests/test_simulation_objec... 288 Pass 0.029
tests.test_simulation_config.TestSimulationConfig test_setattr tests/test_simulation_confi... 59 Pass 0.004
tests.test_simulation_object.TestSimulationObje... test_set_class_priority tests/test_simulation_objec... 224 Pass 0.012
tests.test_simulation_object.TestSimulationObject test_set_simulator tests/test_simulation_objec... 258 Pass 0.043
tests.test_event_message.TestEventMessageInterface test_simple_msg tests/test_event_message.py 56 Pass 0.002
tests.test_simulator.TestEventQueue test_simple_next_events tests/test_simulator.py 68 Pass 0.018
tests.test_simulator.TestSimulator test_simulate_and_run tests/test_simulator.py 318 Pass 0.181
tests.test_simulator.TestSimulator test_simulation_end tests/test_simulator.py 387 Pass 0.090
tests.test_event_message.TestEventMessageMeta test_simulation_message_meta tests/test_event_message.py 94 Pass 0.002
tests.test_simulator.TestSimulator test_simulation_stop_condition tests/test_simulator.py 393 Pass 0.203
tests.test_simulator.TestSimulator test_simulator_exceptions tests/test_simulator.py 339 Pass 0.106
tests.test_simulation_object.TestSimulationObject test_simultaneous_event_times tests/test_simulation_objec... 303 Pass 0.039
tests.test_simulation_metadata.TestSimulationMe... test_str tests/test_simulation_metad... 127 Pass 0.302
tests.test_simulator.TestSuperposition test_superposition tests/test_simulator.py 846 Pass 0.096
tests.test_simulator.TestSuperposition test_superposition_exception tests/test_simulator.py 855 Pass 0.105
tests.test_simulator.TestSimulator test_suspend_restore_logging tests/test_simulator.py 584 Pass 0.020
tests.test_template_sim_objs.TestTemplatePeriod... test_TemplatePeriodicSimula... tests/test_template_sim_obj... 30 Pass 0.093
tests.test_event_message.TestEventMessageInterface test_utils tests/test_event_message.py 34 Pass 0.002
tests.test_simulation_config.TestSimulationConfig test_validate tests/test_simulation_confi... 129 Pass 0.004
tests.test_simulation_config.TestSimulationConfig test_validate_individual_fi... tests/test_simulation_confi... 72 Pass 0.015
tests.test_simulation_object.TestSimulationObjMeta test_warnings tests/test_simulation_objec... 172 Pass 0.003
tests.test_simulation_metadata.TestSimulationMe... test_write_and_read tests/test_simulation_metad... 133 Pass 0.166
tests.test_simulator.TestSimulator test__delete_object tests/test_simulator.py 331 Pass 0.105