Strategy for resetting test data?

LabKey Support Forum (Inactive)
Strategy for resetting test data? Ben Bimber  2013-06-05 16:45
Status: Closed
 
Hi Scott,

Using container is generally a good idea in modules, but in this case it sounds like it might not help anyway.

For your peptide id problem, could you just write the test so it doesn't assume we're starting at 1? It could use the API to query the max of this field and base it off that? That's not totally foolproof (you might have deletes), so you could also consider inserting 1 record and storing it's ID or piggybacking off the existing inserts.