© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•9mo ago•
14 replies
IamMax420

✅ Testing in ASP.NET Core Web Api

I want to start implementing unit tests in my project, however I'm unsure when it comes to the location of test files. ChatGPT advised me to create a separate project for testing but I've never really encountered this approach, I thought the normal way to do it is to create a /tests directory inside the existing project and make sure it corresponds with its file structure?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ ASP.Net Core Web API
C#CC# / help
6mo ago
ASP.NET CORE MVC VS ASP.NET CORE WEB API
C#CC# / help
17mo ago
✅ ASP.NET Core Web Api + SignalR
C#CC# / help
2y ago
❔ MongoDb transactions in Asp.net core web api
C#CC# / help
3y ago