D For A Web Developer

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat May 3 19:36:53 PDT 2014


On 5/3/2014 6:57 PM, Nick Sabalausky wrote:
> I'm not sure mock networks can really be used for testing a client-only lib of
> some specific protocol. There may also be other examples.
>
> There's also the question of whether or not D's "unittest {...}" should *expect*
> to be limited to tests that are *technically* "unit tests". Currently, "unittest
> {...}" is useful for more forms of testing than just "unit" tests. I think it's
> debatable whether we want kill off those uses without offering a comparable
> alternative with reasonable migration.


I'm not suggesting killing off anything. I'm suggesting it may not be good 
practice to use unit tests for testing actual networks.



More information about the Digitalmars-d mailing list