Re: Proposal for a (small) enhancement to the value() function.

new topic     » goto parent     » topic index » view thread      » older message » newer message

CChris wrote:
> Rob, don't you have a test suite available for Euphoria? It would be a good
> addition to the SVN repository. This solution would ensure a uniform level of
> quality control. Tests could be freely added, but none modified or removed
> from
> such a suite.

I have demo\sanity.ex, but over the years I've been somewhat lazy
about keeping sanity.ex up-to-date. I recently added a test for
find_from() and one for match_from(), but they didn't catch the
recent bug that was reported. There is very little testing in
sanity.ex of multitasking, dll's, and many other areas. To test those,
I run several separate programs (Language War, Judith's IDE, etc.)

I think it would be an excellent idea if someone, or some group
of people, either greatly expanded sanity.ex, or built a new system
for detailed testing of Euphoria features. This is something that
a person with no knowledge of C or other internals of Euphoria
could take on, just by making sure that features work as documented.
Like sanity.ex, you would want any failure to be easily pin-pointed.

To prevent regression (i.e. backsliding), any new reported 
examples that expose a Euphoria bug, should be added to the 
test bucket.

To test for memory leaks, I used to build a version of
Euphoria with space_used() defined, and then run sanity.ex
many times in a loop and see if additional space was being
used up with each iteration. The only problem is that
space_used() adds a bit of overhead on all storage allocation/free 
operations, so I don't put it in the normal version of Euphoria.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu