News for hackers. Stuff that matters.
Re:What I wish I knew when I became CTO by akvadrako on Wednesday February 14, 2018 @10:12AM (#16376268)
> Only put tests on the edge of a project.

I mostly agree with your point, but I think this is too much. Projects should be made up of decoupled modules (units ?) with well-defined interfaces. These should be stable and tested, and mostly without mocking required.

The larger your project the more important this is.

Re:What I wish I knew when I became CTO by crdoconnor on Wednesday February 14, 2018 @12:25PM (#16377441)
>Projects should be made up of decoupled modules (units ?) with well-defined interfaces.

That goes without saying.

Nonetheless, if it's a very decoupled module with a very well defined, relatively unchanging interface which you could surround with tests with the bare minimum of mocking - to me that says that it probably makes sense to put it in a project by itself.

>The larger your project the more important this is.

The larger a project gets the more I want to break it up.