Zulip Chat Archive
Stream: mathlib4
Topic: Naming files in test
Martin Dvořák (Sep 06 2024 at 06:37):
Are files in test
supposed to be named in PascalCase, camelCase, or snake_case?
Jon Eugster (Sep 06 2024 at 07:00):
I think PascalCase would make the most sense.
But so far I believe there's been no rule, and certainly none that would have been enforced. Also, might not have been important enough to ever rename test files to match any uniform style
Kim Morrison (Sep 09 2024 at 01:46):
If someone would like to change the test
directory to MathlibTest
, and set it up as a lean_lib
with @[testDriver]
attribute (e.g. like Aesop already does), that would be great. This would allow test files importing other test files, and remove our reliance on the current ad hoc test driver script.
Last updated: May 02 2025 at 03:31 UTC