Many tests in the Chaco codebase use the nosetests way of writing tests (a single function test_..., with generic asserts). This makes it difficult to run the test suite with another test framework. It would be good (and a lot of tedious work) to standardize on the standard unittest way of laying out tests.
$ rg "^def test"
tests_with_backend/highlight_tool_test_case.py
22:def test_highlight_on_log_plot():
tests_with_backend/create_2d_test_case.py
20:def test_bounds_2d_case():
41:def test_process_2d_bounds_cell_plot():
95:def test_process_2d_bounds_vertex_data():
tests/test_image_plot.py
120:def test_horizontal_top_left():
126:def test_horizontal_bottom_left():
133:def test_horizontal_top_right():
140:def test_horizontal_bottom_right():
147:def test_vertical_top_left():
153:def test_vertical_bottom_left():
161:def test_vertical_top_right():
169:def test_vertical_bottom_right():
tests/test_image_utils.py
21:def test_viewer_zoomed_into_single_pixel():
28:def test_viewer_at_corner_of_single_image():
44:def test_viewer_zoomed_into_four_pixel_intersection():
54:def test_viewer_at_corner_of_four_pixel_image():
tests/component_tests.py
4:def test_padding_init():
39:def test_padding_trait_default():
scales/tests/test_formatters.py
10:def test_strftimeEx_01():
16:def test_strftimeEx_02():
22:def test_strftimeEx_03():
30:def test_strftimeEx_04():
40:def test_strftimeEx_04():
49:def test_strftimeEx_05():
58:def test_strftimeEx_06():
67:def test_strftimeEx_07():
80:def test_time_formatter_01():
scales/tests/test_time_scale.py
76:def test_tfrac_years_01():
83:def test_tfrac_years_01_Alice_Springs():
91:def test_tfrac_years_01_Honolulu():
99:def test_tfrac_years_02():
106:def test_tfrac_years_02_Alice_Springs():
114:def test_tfrac_years_02_Honolulu():
124:def test_tfrac_days_01():
131:def test_tfrac_days_01_Alice_Springs():
139:def test_tfrac_days_01_Honolulu():
147:def test_tfrac_days_02():
154:def test_tfrac_days_02_Alice_Springs():
162:def test_tfrac_days_02_Honolulu():
170:def test_tfrac_hours_01():
177:def test_tfrac_hours_01_Alice_Springs():
185:def test_tfrac_hours_02():
192:def test_tfrac_hours_02_Alice_Springs():
200:def test_tfrac_hours_03():
207:def test_tfrac_hours_03_Alice_Springs():
215:def test_tfrac_hours_04():
222:def test_tfrac_hours_04_Alice_Springs():
230:def test_tfrac_hours_05():
237:def test_tfrac_hours_05_Alice_Springs():
245:def test_tfrac_minutes_01():
251:def test_tfrac_minutes_02():
257:def test_tfrac_seconds_01():
263:def test_tfrac_seconds_02():
269:def test_tfrac_milliseconds_01():
275:def test_tfrac_milliseconds_02():
281:def test_tfrac_milliseconds_03():
287:def test_tfrac_milliseconds_04():
294:def test_tfrac_milliseconds_05():
306:def test_trange_hours_01():
311:def test_trange_hours_01_Alice_Springs():
317:def test_trange_hours_01_Honolulu():
323:def test_trange_hours_02():
328:def test_trange_hours_02_Alice_Springs():
334:def test_trange_hours_02_Honolulu():
340:def test_trange_hours_03():
345:def test_trange_hours_03_Alice_Springs():
351:def test_trange_hours_03_Honolulu():
357:def test_trange_hours_04():
362:def test_trange_hours_Alice_Springs():
368:def test_trange_hours_04_Honolulu():
374:def test_trange_hours_05():
379:def test_trange_hours_06():
384:def test_trange_hours_07():
389:def test_trange_hours_07_Alice_Springs():
395:def test_trange_hours_07_Honolulu():
401:def test_trange_seconds_01():
405:def test_trange_seconds_02():
409:def test_trange_seconds_03():
413:def test_trange_milliseconds_01():
417:def test_trange_milliseconds_02():
428:def test_time_scale_seconds_01():
433:def test_time_scale_seconds_02():
438:def test_time_scale_milliseconds_01():
444:def test_time_scale_with_formatter():
459:def test_calendar_scale_system_01():
Many tests in the Chaco codebase use the nosetests way of writing tests (a single function
test_..., with generic asserts). This makes it difficult to run the test suite with another test framework. It would be good (and a lot of tedious work) to standardize on the standard unittest way of laying out tests.