[yt-dev] Unit testing PRs

Matthew Turk matthewturk at gmail.com
Thu Oct 11 16:29:21 PDT 2012


Hi all,

As I noted in the other thread, Stephen issued a PR for unit testing
the kD-tree:

https://bitbucket.org/yt_analysis/yt/pull-request/296/kd-trees-tests/diff

I've just issued one for the profiles:

https://bitbucket.org/yt_analysis/yt/pull-request/297/tests-for-profiles/diff

I think that once these get reviewed and accepte,d they can be used as
examples for how to move forward.  Mine also uses fake random data in
a parameter file, which I think can be useful for testing other
functionality as well.  Anthony, do these match up with what you were
thinking of for testing?  (Feel free to comment in the PR itself.)

-Matt



More information about the yt-dev mailing list