Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
how to run unit test cases from asp.net core and angular app
Lokesh Rajana
Sep 7 2017 6:50 AM
172
Reply
Hi,
here my project have two solutions asp.net solution and angular solution. asp.net solution is for creating web API's and angular solution is for calling that web API's and doing the CRUD operations.
here problem is if i wants to run angular solution i need to keep a asp.net core solution is in running mode. then only that api's will be in enable mode and we can access data.
here i am doing unit testing in asp.net core solution itself if i keep that solution in running mode "run tests" option will not be visible. if i stop the application from running mode it will be enable so i am not getting any contact with database .
how can i do the unit testing.,
for example i wants to insert some record into database through that unit test case .
Please help me out of this issue.
Thanks in advance.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Data validation
Data not sorting when paging