Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Testability #6

Open
tripleo1 opened this issue Oct 17, 2022 · 2 comments
Open

Testability #6

tripleo1 opened this issue Oct 17, 2022 · 2 comments
Assignees

Comments

@tripleo1
Copy link
Collaborator

tripleo1 commented Oct 17, 2022

  1. Don’t be afraid of breaking the build
  • It’s broke anyway, so what the heck!
  1. 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 tripleo1 self-assigned this Oct 17, 2022
@tripleo1
Copy link
Collaborator Author

tripleo1 commented Oct 17, 2022

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

@tripleo1
Copy link
Collaborator Author

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

@tripleo1 tripleo1 pinned this issue Dec 25, 2022
tripleo1 added a commit that referenced this issue Oct 4, 2024
Co-authored-by: Tripleo Nova Sci <sci@tripleo.milkyway>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant