jacob-carlborg / dstep

A tool for converting C and Objective-C headers to D modules
205 stars 37 forks source link

Could we use unit-threated as testing framework? #180

Open ciechowoj opened 6 years ago

ciechowoj commented 6 years ago

@jacob-carlborg what do you think about using https://github.com/atilaneves/unit-threaded as unit testing framework for dstep.

We have quite a lot of unit tests and having an ability to name them and run selectively would be quite a time saver. Currently when unit test fails you need to isolate it to debug it which is pain. I haven't used this library before but at first look it look nice (I've just found it in mentioned in the most recent article on The D Blog) and doesn't seems to be very invasive so we could just give a shoot.

I know that we were cutting on dependencies last year, but this time is different: the library I'm proposing looks like finished product, it has a dub package and we could get rid of it at any time given it didn't fulfill its purpose.

russel commented 6 years ago

I have been using unit-threaded for a while, I can recommend it over using just built-in features.

jacob-carlborg commented 6 years ago

I've used it as well, go for it.