Re: dunit r247

2009-03-19 Thread bearophile
Christopher Wright: Having other testing frameworks/tools for D is good. There are many kinds of testing, and the built-in one isn't supposed to implement them all. Regarding the issues of unit testing with unittest{}, I think the built-in unittesting has to be improved, to removed some of

Re: dunit r247

2009-03-19 Thread Gide Nwawudu
On Thu, 19 Mar 2009 11:34:52 -0400, bearophile bearophileh...@lycos.com wrote: Christopher Wright: Having other testing frameworks/tools for D is good. There are many kinds of testing, and the built-in one isn't supposed to implement them all. Regarding the issues of unit testing with

Re: dunit r247

2009-03-19 Thread Gide Nwawudu
On Thu, 19 Mar 2009 18:26:32 +, Gide Nwawudu g...@btinternet.com wrote: On Thu, 19 Mar 2009 11:34:52 -0400, bearophile bearophileh...@lycos.com wrote: Christopher Wright: Having other testing frameworks/tools for D is good. There are many kinds of testing, and the built-in one isn't

Re: dunit r247

2009-03-19 Thread Christopher Wright
bearophile wrote: Christopher Wright: Having other testing frameworks/tools for D is good. There are many kinds of testing, and the built-in one isn't supposed to implement them all. Regarding the issues of unit testing with unittest{}, I think the built-in unittesting has to be improved, to

Re: dunit r247

2009-03-19 Thread Robert Fraser
bearophile wrote: For me it's often better to keep tests very close to the things they test. It helps me spot and fix bugs faster, to avoid jumping across files, and when I quickly move a block of code (function, class, template, etc) when I reorganize the code it is less likely for me to

Re: dunit r247

2009-03-19 Thread Nick Sabalausky
Christopher Wright dhase...@gmail.com wrote in message news:gpuibc$1nr...@digitalmars.com... bearophile wrote: What's the advantage of: expect(foo(5), equals(3) | greaterThan(5)); Compared to: expect(foo(5) == 3 | foo(5) 5); What error message should that give? The former gives:

Re: dunit r247

2009-03-19 Thread Daniel Keep
Christopher Wright wrote: bearophile wrote: What's the advantage of: expect(foo(5), equals(3) | greaterThan(5)); Compared to: expect(foo(5) == 3 | foo(5) 5); What error message should that give? The former gives: Expected: equal to 3 or greater than 5 But was: whatever value foo(5)

dunit r247

2009-03-18 Thread Christopher Wright
Hi all, I've released a new version of dunit, r247. (I have finally decided on subversion revision numbers as a simple, unambiguous versioning scheme). It's recommended for immediate use and is certified alpha-quality software. Documentation and Downloads