Re: Project Highlight: Funkwerk

2017-07-29 Thread linkrope via Digitalmars-d-announce
On Friday, 28 July 2017 at 21:54:27 UTC, Arun Chandrasekaran wrote: What are they using for HTTP now? Currently, we're using our own utilities, based on https://github.com/dlang/undeaD/blob/master/src/undead/socketstream.d (with the mentioned garbage-collection issue).

depend 0.0.1

2015-04-30 Thread linkrope via Digitalmars-d-announce
https://github.com/funkwerk/depend depend checks actual import dependencies against a PlantUML model of target dependencies. In contrast to dhier, depend makes use of the import dependencies created by dmd with the --deps switch. In our company, we use this tool with CI to guard the

dunit 0.7.0 released

2013-09-29 Thread linkrope
https://github.com/linkrope/dunit/tree/v0.7.0 The xUnit testing framework for D is used in production for one year now. The latest changes are: - added XML test reporting in JUnitReport format - dub support - changed @Ignore to @Ignore(reason to skip the test) - added assertOp together

Re: DUnit: Advanced unit testing toolkit.

2013-09-24 Thread linkrope
(this one: https://github.com/linkrope/dunit). For our software, we even separate the 'src' tree from the 'unittest' tree to not distort the coverage results. 2. Asserting results Varies from the builtin assert() to xUnit-like assertEquals() to the more verbose x.must.equal(y) used in specd

Re: DUnit: Advanced unit testing toolkit.

2013-09-24 Thread linkrope
Same hint as for specd: have a look at 'assertOp'! http://d.puremagic.com/issues/show_bug.cgi?id=4653 alias assertOp! assertGreaterThan; alias assertOp!= assertGreaterThanOrEqual; alias assertOp! assertLessThan; alias assertOp!= assertLessThanOrEqual; avoids duplicate code. Maybe, you can do

Re: DUnit: Advanced unit testing toolkit.

2013-09-22 Thread linkrope
Have a look at https://github.com/linkrope/dunit, especially at the Related Projects. Until now, my preferred tool for (large-scale) unit testing in D would be the combination of my dunit framework (of course), DMocks-revived for mocks, and the 'must' matchers of specd. How does your toolkit

Re: specd - write more expressive unit tests

2013-09-04 Thread linkrope
do to color the unit-test results: https://github.com/linkrope/dunit/blob/master/dunit/color.d

Re: Unit Threaded - a unit testing library for D

2013-08-27 Thread linkrope
On Tuesday, 27 August 2013 at 15:42:28 UTC, Andrej Mitrovic wrote: I have some of these functions here: https://github.com/AndrejMitrovic/minilib/blob/master/src/minilib/core/test.d Where is your 'assertOp' from the comments of issue 4653? I recently added it to https://github.com/linkrope

Re: DUnit - class MyTest { mixin TestMixin; void testMethod1() {} void testMethod2() {}}

2012-08-30 Thread linkrope
Add some variable to the test case: bool finished; Set the variable in the callback: finished = true; Add something like assertWithTimeout({return finished;}); at the end of the test case, following ev.run; Does it help? On Wednesday, 29 August 2012 at 19:20:25 UTC, Shripad K wrote: How