Skip to content

Commit 087c78f

Browse files
Vince BuffaloVince Buffalo
authored andcommitted
updated readme for preface
1 parent 1640a2f commit 087c78f

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

chapter-01-ideology/README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,49 @@ work. I cover knitr in the R chapter (chapter 8), but only briefly; I highly
4242
encourage the reader to spend more time learning knitr and using it in their
4343
work.
4444

45+
## More Information on Unit Testing
46+
47+
I introduce unit testing in this chapter, but don't go into much detail
48+
throughout the book about this. This is both because the book is already quite
49+
long, and I think it can be difficult for readers to learn unit testing
50+
alongside the material in the book. However, unit testing is important (hence,
51+
why I introduce it) and the curious reader should learn more. I suggest:
52+
53+
- [Testing Your Code](http://docs.python-guide.org/en/latest/writing/tests/)
54+
in the terrific [The Hitchhiker's Guide to
55+
Python](http://docs.python-guide.org/en/latest/)
56+
57+
- [Beautiful
58+
Testing](http://www.amazon.com/Beautiful-Testing-Professionals-Software-Practice/dp/0596159811)
59+
by O'Reilly and Goucher.
60+
61+
- Hadley Wickham's [testthat](https://github.com/hadley/testthat) package for R, and [his corresponding article](http://journal.r-project.org/archive/2011-1/RJournal_2011-1_Wickham.pdf) in the R Journal.
62+
63+
- [Python's DocTests](https://docs.python.org/2/library/doctest.html)
64+
65+
- [Nose](https://nose.readthedocs.org/en/latest/) is a particularly nice and
66+
popular testing framework for Python.
67+
68+
## Documentation
69+
70+
I don't discuss tools like [iPython Notebook](http://ipython.org/notebook.html)
71+
or [knitr](http://yihui.name/knitr/) in depth in my book due to space
72+
limitations (though I introduce them and highly encourage their use). These
73+
tools are also quite easy to learn on your own. To help get you started, here
74+
are some resources:
75+
76+
- iPython Notebook's [introduction](http://ipython.org/ipython-doc/stable/interactive/tutorial.html).
77+
78+
- iPython Notebook [video and screencasts](http://ipython.org/videos.html)
79+
80+
- [Karl Broman's](https://twitter.com/kwbroman) terrific [knitr in a
81+
nutshell](http://kbroman.org/knitr_knutshell/)
82+
83+
- [knitr's documentation](http://yihui.name/knitr/)
84+
85+
- knitr's creator Yihui Xie's book, [Dynamic Documents with R and
86+
knitr](http://www.amazon.com/dp/1482203537/ref=cm_sw_su_dp)
87+
4588
## More information on the "Duke Saga"
4689

4790
There's a lot bioinformaticians can learn from the Duke Saga. It's a useful

0 commit comments

Comments
 (0)