Skip to main content
Open

Disable unit testing on production

Related products:Software Factory
  • June 19, 2023
  • 1 reply
  • 46 views

At this moment it's possible to run unit tests on a specific database and server configured in a runtime config. Running unit tests on Production (and sometimes even Acceptance) can be pretty tricky. If the unit test were to fail due to an transaction mismatch, the transaction might not be rolled back, which can result in serious data loss. 

 

To prevent this from happening, maybe its an idea to define if running unit tests is allowed on a runtime config level. And off course make sure this is blocked when a developer triggers unit tests via this runtime config.

Did this topic help you find an answer to your question?

1 reply

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
NewOpen

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings