2 ms·
thanks a lot for your feedback @necovek much appreciated! If you have any idea for reducing tests time please share, always open for new ideas :)
by ori75660 3y ago
thanks a lot for your feedback @necovek much appreciated!
If you have any idea for reducing tests time please share, always open for new ideas :)
- necovek 3y agoIt's kinda obvious: have exactly the same handler function with no decorators and really test it like a pure function it is. With an existing opinionated framework like DRF, just call out to it from your handler, and have exactly one test to ensure that integration keeps working and passes parameters through properly.