0
Under review

While Unit test run why need to connect actual resources

bhavesh panchal 2 jaar geleden bijgewerkt door Ashley Lewis 2 jaar geleden 1

We have identified that if we are not using actual values for DB and other resources for workflows it fails Unit tests.

It causes issue while unit test run when unit test container connects to actual DB and other resources, there might be chances of Data manipulation at Unit test level.

Under review

Have you considered using mocks? The database will not be called if the database activity is replaced with a mock in the test. When the test is run the mocked activity will always output the provided data and never actually call the database.