Tricky Problem 0 ▲ ronjeffries.com 2 hours ago · 9 min read1711 words · Tech · hide · 0 comments Hello, loves! We have a tricky problem ahead of us, but first: the tests are too slow. Nice result, very pleased. How slow are they? Well, according to pytest’s final report, 2.4 seconds. But since PyCharm waits a moment before running the tests, to give you a half a chance to be ready, the experienced time is more like four seconds, which is Too Damn High. With some tweaking of settings, I get pytest to tell me this: 0.20s call test_scroller.py::TestScroller::test_initial 0.05s call test_scroller.py::TestScroller::test_blank_when_no_message 0.02s call test_dungeon_layout.py::TestDungeonLayout::test_adding_rooms 0.01s call test_scroller.py::TestScroller::test_y_position 0.01s call test_paths.py::TestPaths::test_path_with_rooms 0.01s call test_scroller.py::TestScroller::test_y_position_update 0.01s call test_content_view.py::TestContentView::test_creation 0.00s call test_paths.py::TestPaths::test_path_helper 0.00s call test_dungeon_making.py::TestDungeonMaking::test_another_room_shape… No comments yet. Log in to reply on the Fediverse. Comments will appear here.