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

correctness test your own code? #9

Open
tdhock opened this issue Jul 21, 2015 · 2 comments
Open

correctness test your own code? #9

tdhock opened this issue Jul 21, 2015 · 2 comments
Assignees

Comments

@tdhock
Copy link

tdhock commented Jul 21, 2015

maybe write some tests to make sure that your mem_compare function returns a data frame with a certain number of row and certain row names?

either clone an existing repository as a part of the test framework (e.g. hadley/stringr) or use git2r to make a simple repository that you can run your code on.

@tdhock tdhock changed the title test your own code? correctness test your own code? Jul 21, 2015
@analyticalmonk
Copy link
Owner

I have written a basic test using testthat to begin with.
Link to commit: 21d6620

@analyticalmonk analyticalmonk self-assigned this Jul 31, 2015
@tdhock
Copy link
Author

tdhock commented Aug 3, 2015

for the function that generates a web page, test that the web page contains one image for every test.

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

No branches or pull requests

2 participants