Skip to content

Conversation

@AdrienVannson
Copy link
Contributor

@AdrienVannson AdrienVannson commented Jul 1, 2025

Tests used to be compiled four times each, with varying options. Since the number of compile options available in betterproto is growing, it's no longer possible to simply compile each test with all the possible options: we need to individually select the options for each test case.

The tests were also compiled in the same root directory, so conflict were occuring in common files such as message_pool.py.

A drawback is that now, all the tests are listed in the source code, which is quite verbose. It may be improved in the future.

@AdrienVannson AdrienVannson marked this pull request as draft July 1, 2025 10:06
@AdrienVannson AdrienVannson marked this pull request as ready for review July 26, 2025 10:05
@AdrienVannson AdrienVannson changed the title Make tests more independant, fix type checking Make tests more independant Jul 26, 2025
@AdrienVannson AdrienVannson merged commit 7f2c19f into main Jul 26, 2025
15 of 16 checks passed
@AdrienVannson AdrienVannson deleted the fix-type-checking branch July 26, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants