Click here to Skip to main content
15,882,152 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
In my application Unit test code some of the test cases are getting failed in azure pipeline. Those test case methods are trying to connect with db for fetching data.

What I have tried:

Other test methods which is using mockdata is working fine
Posted
Comments
Dave Kreskowiak 13-Jul-22 9:51am    
There is no way anyone is going to be able to answer this without more details. You show no code for the test, and no error messages.

Your entire "question" is "my unit test failed". That's it. What is anyone supposed to do with that?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900