PLAY PODCASTS
Expect tests
Episode 33

Expect tests

What's an expect test? Why should you use them? Why is inline expect test better than out of line? How to write a good expect test?

PyTorch Developer Podcast

June 18, 202113m 26s

Audio is streamed directly from the publisher (cdn.simplecast.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

What's an expect test? Why should you use them? Why is inline expect test better than out of line? How to write a good expect test? 

Further reading. expecttest source implementation https://github.com/pytorch/pytorch/blob/master/torch/testing/_internal/expecttest.py (only 311 lines!)