Testing when inheriting/extending existing module
I am working an accounting reports. I would like to ask something about testing.
Since I've extended account_invoice and added some constraints (like cannot create invoice if vendor does not have fiscal reigme) when my reporting module is installed the original tests of accounting module are not passing succesfully. How do you proceed in this case? Do you inherit the tests of the original accounting module and adjust them based on the specifications of your own module? Or maybe you only adjust the demo data to match the constraints that you introduced?