Re: sanity.ex
- Posted by Jeremy Cowgar <jeremy at ?owgar?com> May 12, 2008
- 654 views
Jason Gade wrote: > Is sanity.ex going to be replaced with unit tests, or are the unit tests > solely > for the standard library? sanity.ex is still valid, however, I think unit tests are easier to maintain and use. I have not converted anything from sanity.ex to unit tests. Unit tests does currently test some internal functions. Eventually, I think sanity.ex should not exist but there are too many checks in it right now to remove it. So, did that answer the question? > I'm trying (slowly) to get back to helping out around here instead of just > making > inane comments, but the last time I messed with the code in the svn repository > sanity.ex wasn't working due to changes in get.e I believe. > > Is sanity.ex working now with either 3.1.1 or with 4.0? > This is *great* news! Thanks! I actually just ran sanity.ex and had to make one simple change to it (include math.e). It tells me 100% passed. So, until sanity.ex is merged into unit testing, it wouldn't be a bad idea to run both before committing. Migrating sanity.ex to unit tests should be a goal before 4.0 release. -- Jeremy Cowgar http://jeremy.cowgar.com