def test_profiling_outside_of_test_case(self): for _ in range(0, SAMPLE_SIZE): fast_method() # Checking if a database has been spawned database_manager = Crud() url = database_manager._validate_connection_url( UNIT_TEST_DATABASE_NAME) engine = create_engine(url, echo=True) self.assertTrue(database_exists(engine.url))
def __init__(self): Crud.__init__(self) Boundaries.__init__(self) Metrics.__init__(self) RegressionSettings.__init__(self) self.current_test_id = None self.previous_test_id = None self.silence_warning_messages = False self._test_case_name = default_test_case_name self._monitoring_mode = True
def clean_up(): """ """ database_manager = Crud() database_manager.delete_result_database(UNIT_TEST_DATABASE_NAME)
def clean_up(): """ """ database_manager = Crud() database_manager.delete_result_database(default_test_case_name)