Under review

While Unit test run why need to connect actual resources

bhavesh panchal 2 years ago updated by Ashley Lewis 1 year ago 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.