PyTorch Developer Podcast

Expect tests

Episode Summary

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?

Episode 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!)