When testing an ASP.NET MVC 2 application, I got into a problem when I could not find a view.
Looking at the code, I realized that the aspx file for the view was not added to the version control repository. In this project, which is quite easy to do, since we use StarTeam to manage the source code, and it does not show new folders during verification. This view was intended for the new controller, so a new folder was created for it, and therefore it was skipped.
Our build server (using Hudson / MSBuild) did not understand this, as the code still works fine with the absence of an aspx file. Our control modules validate the ActionResults action, which obviously still passes without viewing.
I managed to get this when testing the system, but how can I catch this earlier (ideally on the build server).
Thank you in advance
source share