I frequently write unit tests as I'm developing to test bits of code I'm writing.
I'm finding it very tedious that in order to run the unit test I need to recompile EVERYTHING. Is there a way to make it compile only what is needed.
I usually include the source code from other projects to make debugging easier, but this usually stops me from running any unit tests as I can't compile unless I go to the effort of adding the dependancies for all projects I've included.
So at the moment if I want to write and run unit tests the first thing I have to do is remove a whole bunch of src directories from my project so I can actually compile and run the tests.
I'm sure I'm missing something, there has to be an easier way.