mihaibudiu commented on PR #3145: URL: https://github.com/apache/calcite/pull/3145#issuecomment-1581208831
I think having many small tests is probably better. There are 622 test files in the project. We could write a small script to generate a test for each one (or a group of files). This could also be beneficial if the tests can run in parallel. However, JUnit5 has a capability called DynamicTests using the `@TestFactory` annotation, but Calcite does not currently use it: https://www.baeldung.com/junit5-dynamic-tests. I will try to prototype this solution to see what happens. With DynamicTests we could even choose how many tests to run by sampling the test file list. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
