1. sanity.ex

Is sanity.ex going to be replaced with unit tests, or are the unit tests solely
for the standard library?

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?

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

new topic     » topic index » view message » categorize

2. Re: sanity.ex

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? grin

> 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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu