News for hackers. Stuff that matters.
Re:Death by 1000 layers: the perils of over-abstraction in J... by vbezhenar on Monday December 14, 2020 @06:16PM (#25424719)
Usually people (ab)use default visibility modifier for unit testing. It's not public, so it's not visible from other packages, but unit tests usually reside in the same package, so you have full access to it.

But I agree that Java could use better unit test and mocking support.

Re:Death by 1000 layers: the perils of over-abstraction in J... by an_opabinia on Monday December 14, 2020 @08:09PM (#25425777)
Split modules are horrible.