Eigenpoll : D wish list : black box unit testing 

The d compiler should enforce black box unit tests.

Which is unit tests that only use the classes exposed interface.(public, protected)

Together with 100% unit test coverage it helps ensure that
the code is modular,decoupled and that you can change
the private parts without changing the unit tests.

For those how is not ready for this high code standard,
there might be a --allow-white-box switch.

Report this item for cleanup