Hi There,
I’ve built some unit tests for my custom DocTypes, inside a custom app. Some are associated with ERPNext DocTypes such as Customer, via a Link type field.
As per point 4 this guide, Customer test records are automatically being inserted when running MY tests:
https://frappe.github.io/frappe/user/en/guides/basics/writing-tests
I am running my tests as follows:
bench run-tests --app my_app
The test data in ERPNext is creating some side effects in my unit tests, even though they are in a separate app.
Is there a way to override this behaviour, so that test records outside of my app are not automatically inserted?
Thanks!