Click here to Skip to main content
14,270,368 members

Web Development

 
GeneralRe: Helper Methods MVC Pin
Richard Deeming25-Jun-19 9:00
mveRichard Deeming25-Jun-19 9:00 
GeneralRe: Helper Methods MVC Pin
KGr2825-Jun-19 9:21
memberKGr2825-Jun-19 9:21 
GeneralRe: Helper Methods MVC Pin
Richard Deeming25-Jun-19 9:35
mveRichard Deeming25-Jun-19 9:35 
GeneralRe: Helper Methods MVC Pin
KGr2825-Jun-19 9:58
memberKGr2825-Jun-19 9:58 
GeneralRe: Helper Methods MVC Pin
KGr2825-Jun-19 10:37
memberKGr2825-Jun-19 10:37 
QuestionMSBUILD warning MSB3245 and MSB3243 Pin
#realJSOP25-Jun-19 5:33
mve#realJSOP25-Jun-19 5:33 
QuestionTest Driven Dev in MVC5 Pin
#realJSOP24-Jun-19 4:37
mve#realJSOP24-Jun-19 4:37 
AnswerRe: Test Driven Dev in MVC5 Pin
Afzaal Ahmad Zeeshan26-Jun-19 0:05
mveAfzaal Ahmad Zeeshan26-Jun-19 0:05 
Quote:
specify that I want unit tests,
But the library that your boss brought is more for mocking, rather unit testing. If you don't need to mock the resources such as database connections, network requests, or other and external APIs, then I don't think Moq would be necessary at all a simple xUnit or NUnit would be suitable enough.
Quote:
I know I can create a new project
And then bring the entire code base in that new project? Doesn't seem legit, but you can easily add a new project in the solution, and connect that (new testing) project with your existing web application as a reference (MVC would be a dll). Then using the content from your MVC, you can run tests on them.

This mocking framework would come in handy where you would need to pass in the database connections, or other content that doesn't need to be there in testing environments; thus Moq.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

GeneralRe: Test Driven Dev in MVC5 Pin
#realJSOP26-Jun-19 0:50
mve#realJSOP26-Jun-19 0:50 
GeneralRe: Test Driven Dev in MVC5 Pin
Afzaal Ahmad Zeeshan26-Jun-19 3:20
mveAfzaal Ahmad Zeeshan26-Jun-19 3:20 
GeneralRe: Test Driven Dev in MVC5 Pin
#realJSOP26-Jun-19 5:08
mve#realJSOP26-Jun-19 5:08 
GeneralRe: Test Driven Dev in MVC5 Pin
F-ES Sitecore27-Jun-19 5:44
mveF-ES Sitecore27-Jun-19 5:44 
GeneralRe: Test Driven Dev in MVC5 Pin
#realJSOP27-Jun-19 6:12
mve#realJSOP27-Jun-19 6:12 
QuestionOutlook Current User Context Pin
Member 1106951823-Jun-19 22:08
memberMember 1106951823-Jun-19 22:08 
AnswerRe: Outlook Current User Context Pin
Richard MacCutchan23-Jun-19 22:47
protectorRichard MacCutchan23-Jun-19 22:47 
QuestionASP.Net Web API2 in IIS Pin
Kevin Marois18-Jun-19 8:10
professionalKevin Marois18-Jun-19 8:10 
AnswerRe: ASP.Net Web API2 in IIS Pin
Richard Deeming18-Jun-19 8:44
mveRichard Deeming18-Jun-19 8:44 
GeneralRe: ASP.Net Web API2 in IIS Pin
Kevin Marois18-Jun-19 8:53
professionalKevin Marois18-Jun-19 8:53 
GeneralRe: ASP.Net Web API2 in IIS Pin
Richard Deeming18-Jun-19 10:52
mveRichard Deeming18-Jun-19 10:52 
GeneralRe: ASP.Net Web API2 in IIS Pin
Kevin Marois18-Jun-19 10:54
professionalKevin Marois18-Jun-19 10:54 
GeneralRe: ASP.Net Web API2 in IIS Pin
Mycroft Holmes18-Jun-19 12:30
memberMycroft Holmes18-Jun-19 12:30 
GeneralRe: ASP.Net Web API2 in IIS Pin
Richard Deeming19-Jun-19 0:43
mveRichard Deeming19-Jun-19 0:43 
GeneralRe: ASP.Net Web API2 in IIS Pin
Mycroft Holmes19-Jun-19 12:24
memberMycroft Holmes19-Jun-19 12:24 
GeneralRe: ASP.Net Web API2 in IIS Pin
Kevin Marois19-Jun-19 7:49
professionalKevin Marois19-Jun-19 7:49 
QuestionAnyone has chrome debugging issue today.... Pin
Super Lloyd17-Jun-19 17:33
memberSuper Lloyd17-Jun-19 17:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.