My new company has never had unit testing, but have finally been persuaded to introduce it.
They have chosen Google test and, for some reason, want to run the unit tests from within Eclipse (where I, personally, would run it from the command line, preferably as some sort of CI and/or check-in process).
With hundreds, possibly thousands, of individual source files, each dealing with one class or a group of related functions, we need to have one test script per source file, but do we really need one Eclipse project, or can we just have as single, humungous project which runs each of the test scripts?
Management insist that the unit tests be runnable from within Eclipse.
src
directory they havemain
andtest
.