elijah-team / fluffy-umbrella

A different take on the same damn thing
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Testability #6

Open tripleo1 opened 2 years ago

tripleo1 commented 2 years ago
  1. Don’t be afraid of breaking the build

    • It’s broke anyway, so what the heck!
  2. Find a testing framework

    • JUnit and

    • Mockito/Easymock work well enough

    • but I feel like there’s more to life…

    • The point, though, is to know when “it works”

tripleo1 commented 2 years ago

main and mainline should always be "green", even if they don't have the latest functionality.

tripleo1 commented 1 year ago

I also think the mocking thing may be too much at this point.

It was nice to learn (a little bit of it), but if you can test with base JUnit, then your code is too complicated.

See Boilerplate.java