---
title: "Does the unit testing of an MVC application is possible without running controllers in an ASP.NET process ?"  
description: "Does the unit testing of an MVC application is possible without running controllers in an ASP.NET process ?"  
author: "Shiva Shukla"  
published: 2016-01-24  
updated: 2016-01-24  
canonical: https://www.mindstick.com/forum/33921/does-the-unit-testing-of-an-mvc-application-is-possible-without-running-controllers-in-an-asp-dot-net-process  
category: "asp.net"  
tags: ["asp.net mvc", "mvc5"]  
reading_time: 1 minute  

---

# Does the unit testing of an MVC application is possible without running controllers in an ASP.NET process ?

Does the [unit testing](https://www.mindstick.com/articles/333232/unit-testing-in-dot-net-best-practices-and-tools) of an [MVC application](https://www.mindstick.com/forum/12932/how-to-consume-webservices-from-asp-dot-net-mvc-application) is possible without running [controllers in an ASP.NET](https://www.mindstick.com/forum/158585/describe-the-role-of-models-views-and-controllers-in-an-asp-dot-net-mvc-application) [process](https://yourviews.mindstick.com/story/1525/7-important-factors-that-may-affect-the-learning-process) ?

## Replies

### Reply by Shiva Shukla

In an [MVC](https://www.mindstick.com/forum/155803/define-cache-profile-in-mvc) [application](https://www.mindstick.com/articles/12824/calculator-application-in-android), all the features are based on interface. So, it is easy to [unit](https://www.mindstick.com/articles/44359/store-your-valuable-items-in-a-mini-storage-unit) test a MVC application. \
And it is to note that, in MVC application there is no need of running the [controllers](https://www.mindstick.com/forum/155773/how-asynchronous-controllers-work-in-asp-dot-net-mvc) for unit [testing](https://www.mindstick.com/articles/1849/role-of-testing-in-software-development).


---

Original Source: https://www.mindstick.com/forum/33921/does-the-unit-testing-of-an-mvc-application-is-possible-without-running-controllers-in-an-asp-dot-net-process

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
