Creating a Test Site

I’ve been fiddling with creating tests for ERPNext, and am finding a huge number of issues when I try to run them.
I have a Virtual Machine with v7 installed and updated. I used the run-tests command in bench and now there are a number of test docs in my site. Also, the test records that I tried to create for my test go undetected.

Do I need to create a separate test site to run the tests on? Can someone suggest a workflow for setting up the environment to run tests?

2 Likes

Yes, always keep a separate site for tests!