googlefonts / glyphsLib

A bridge from Glyphs source files (.glyphs) to UFOs
Apache License 2.0
178 stars 51 forks source link

test framework #1003

Closed schriftgestalt closed 1 month ago

schriftgestalt commented 2 months ago

Some test use unittest.TestCase, others pytest. The later has the option to use pytest.mark.parametrize. Some unittest cases could use a parameter (e.g. to run it with a glyphs2 and glyphs3 file). Should I change the test to pytest or find another way?

anthrotype commented 1 month ago

Should I change the test to pytest or find another way?

yes, that'd be preferable. New tests should use pytest by default. Old tests can be translated as needed

schriftgestalt commented 1 month ago

Thanks