Testing
Topics: Software development
Software tests check whether code behaves as expected and help detect regressions.
“Regular testing ensures that new features, refactors, or bug fixes do not introduce unforeseen issues or regressions. It’s a proactive approach that bolsters the reliability of applications and, by extension, the trust of end-users.” (Jeffery Morhous, FactoryBot for Rails Testing)
Subtopics
What to test
- Incoming messages should be tested for the state they return.
- Outgoing command messages should be tested to ensure they get sent.
- Outgoing query messages should not be tested.