Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop unit tests for automated testing #56

Open
Syntaf opened this issue Aug 17, 2015 · 3 comments
Open

Develop unit tests for automated testing #56

Syntaf opened this issue Aug 17, 2015 · 3 comments

Comments

@Syntaf
Copy link
Member

Syntaf commented Aug 17, 2015

Now that dnppy has integrated travis-ci documentation building, the environment for automated testing is already in place. All that's missing is testing for the functions.

If tests are developed for dnppy that don't use local files for testing it would be super easy to integrate said testing remotely so you would know when pushes break code.

@Jwely
Copy link
Member

Jwely commented Aug 18, 2015

Do you think this would be practical with so many of our functions built to operate on large-ish raster data sets?

@Syntaf
Copy link
Member Author

Syntaf commented Aug 18, 2015

Is there a way to create minimal examples of functions that are built to operate on large data sets? Say call the function with a really small dataset that you can check by hand in the comparison? The data doesn't have to be real of course, e.g. for testing one of my libraries right now all I do is hand check stuff I know is right. How plausible is it to generate small pseudo datasets you can check?

@Jwely
Copy link
Member

Jwely commented Aug 18, 2015

I suppose it's possible to create some tiny data subsets for some of the raster functions, like little 10x10 pixel images. Some of our functions are built to download and convert data formats from a variety of NASA DAAC's. It is important to test these as well, but I don't see anyway to create tiny test datasets for those functions.

see #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants