You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tap.test('Frobnicators',_(asyncassert=>{varfrobtap.beforeEach(()=>{frob=Frob.objects.create({...})// recreated per-test in this test handler})tap.test('should frob evenly',_(asyncassert=>{Frob.objects.filter({id: frob.id}).update({...})// changes discarded before next test})}))
Specifically we should track if we're in a test so we can use CHECKPOINT / ROLLBACK TO CHECKPOINT to persist some changes in the db. Redis... we'll continue to drop entirely between tests.
The text was updated successfully, but these errors were encountered:
This would allow for the following:
Specifically we should track if we're in a test so we can use
CHECKPOINT
/ROLLBACK TO CHECKPOINT
to persist some changes in the db. Redis... we'll continue to drop entirely between tests.The text was updated successfully, but these errors were encountered: