Writing unit tests should not be a pain.
They should save you time and not the opposite.
Most of the time it's because people try to cover 100% of their code and have a wrong testing strategy.
They write too many tests that reflect implementation.
So each time they change something into their code which are not important... they have to rewrite their tests.
I share you here 3 simple rules to follow that will help you writing robust and saving time tests.
Check our Flutter app template here
https://apparencekit.dev