|
|
|
|
|
by matt_trentini
332 days ago
|
|
Unit test coverage is exceptionally high for the interpreter, and always has been: https://micropython.org/resources/code-coverage/ ('py' folder: 99.2% line, 88.7% branch coverage) Testing the port-specific code has been a much more challenging problem. Which is why in the past year or two there's been a lot of energy put in to HIL testing. There are now a few dozen boards that are automatically tested with an increasingly rich suite of hardware tests. Both the number of boards and tests are increasing rapidly. It's not perfect but it's getting pretty darn good. If you want to help out please do reach out. |
|
They need to test the whole ecosystem, that is the usual interaction with typical peripherals (I2C, I2S, SPI, Serial, interrupts...) and for every bug fixed there should be a unit test to make sure future changes don't cause regressions.
I had this conversation with them but they take every opportunity to justify/ask for more funding.
They are also prioritizing adding support for new chips but they quickly get eaten alive by chaos, regressions and platform fragmentation.