Breaking changes in Visual C++ 2015

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Thu May 14 07:37:46 PDT 2015


On Thursday, 14 May 2015 at 13:22:21 UTC, Chris wrote:
> However, the data comes from somewhere outside the program, and 
> although you can IoC most parts of a program _after_ it's been 
> fed the data, the initial input section is not easily unit 
> tested (i.e. unit test in D).

Gathering parts together is integration point, and unit tests 
don't test integration. In your example you would be able to test 
the Process class. If you are unsure Loader can't parse files - 
that can be tested without files, streams are enough.


More information about the Digitalmars-d mailing list