phmonte / Buildalyzer

A utility to perform design-time builds of .NET projects without having to think too hard about it.
MIT License
593 stars 94 forks source link

Add interfaces #132

Closed richardwerkman closed 4 years ago

richardwerkman commented 4 years ago

This PR adds interfaces to the classes I would like to be able to mock for unit testing perposes.

closes #102

richardwerkman commented 4 years ago

@daveaglick could you take a look at this?

daveaglick commented 4 years ago

Thanks a bunch for the PR! Yep, happy to take a look at it as soon as I get the chance. It'll likely be early(ish) next week before I'm able to merge it in and get a new release out, but at first glance the changes look good. Always happy to make testing easier :)

richardwerkman commented 4 years ago

Cool, looking forward to be able to unit test with buildalyzer 😃

I've tried it without the interfaces but it was just such a pain in the ass. This will make testing a lot easier! Thanks for wanting to release as soon as possible 👍

richardwerkman commented 4 years ago

Ping

daveaglick commented 4 years ago

Sorry for the delay, took me longer than I thought to find some time to run all the unit tests and verify everything. Looks great, thanks for the excellent work. Merging now and will release to NuGet right after.