Simplify Testing - Endpoint to reset all demo account data
In order to build solid, tested systems, we need to run end-to-end tests on our apps.
Proposal - Create a custom endpoint only for "Demo Accounts" that will flush every bit of data.
It's easier to create data in xero than to delete it. This will allow a reset before integration tests are run. We can then seed new data and run tests as expected.
This will also allow projects with multiple developers to get their own test accounts setup and more easily match the rest of the team's.
Please vote this up.
We have recently created a dedicated Developer Experience team to upgrade many of the services around the API. This type of functionality is part of a wider Sandbox EPIC that the team will look at later in the year.
We will post updates as and when we have them.
Matt Nexacu commented
Is this going to happen any time in the next few decades?