Re: [Chicken-users] Unit testing of non-exported procedures

2013-03-27 Thread Mario Domenech Goulart
Hi Matt, On Wed, 27 Mar 2013 17:02:39 -0600 Matt Gushee wrote: > I am writing a test suite for an egg I am developing, using the 'test' > egg. So far I've written 17 tests with various supporting data, for a > total of 274 lines of code ... I estimate that is about 10-20% of what > I need for th

Re: [Chicken-users] Unit testing of non-exported procedures

2013-03-27 Thread Evan Hanson
Hi Matt, A simple solution might be to keep your implementation in one file and your module form in another that includes it. Then, your tests could `include` or `load-relative` or whatever the implementation file rather than the module, making all its definitions visible. This may not work for y

[Chicken-users] Unit testing of non-exported procedures

2013-03-27 Thread Matt Gushee
Hello, chicken people-- I am writing a test suite for an egg I am developing, using the 'test' egg. So far I've written 17 tests with various supporting data, for a total of 274 lines of code ... I estimate that is about 10-20% of what I need for thorough test coverage. So before I go much further