Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
What is the appropriate way of unit testing?

I'm asking both in the narrow contest of Quantopian as well as the broader context of Quant trading.

Regarding the latter, do you use data fixtures on which you unit test individual functions? And do you test the entire algo backtest (and compare to the manual version?)

Thoughts?