SlideShare ist ein Scribd-Unternehmen logo
1 von 1
IS MOQ END OF UNIT TESTING?
White Paper
June2016
INTRODUCTION
The conceptof mocking the unit tests is aroundfor some time now.My question is, “Is MOQthe end of
unit testing”.
MOCK TESTS
The behavior of the applications can be mocked and tested. For example, using MOQ framework, the
return value of a method call can be mocked to return custom values. The custom values then can be
matchedwith the expectedvalue to findoutif the methodhas performedcorrectly.MOQcanbe usedto
test if a particular method has been called and/or how many times it has been called to test the
functionality.
WHY THE QUESTION?
Using MOQ, we cannottest some of the actual functionality, for example testing the retrieval from the
database.
AND THE ANSWER IS
MOQ is NOT the end of unit testing. Still the developer needs to unit test the real functionalities (for
example database transactions).
ABOUT THE AUTHOR
Ramasubramanian Thumati Rajendran has over 15 years of experience in technologies ranging from
FoxPro,VisualBasic,.NET,SharePoint,SQLServer, Oracle,and MSBI.Heis workingasa senior architect
with SwordGlobal India P Ltd, Chennai, India managing MicrosoftAzure,SharePoint and .Net projects.
Hecanbe reachedat Ramasubramanian.r@sword-in.com.Alternately,hecanbereachedat hispersonal
email ram.thumati@gmail.com.

Weitere ähnliche Inhalte

Was ist angesagt?

Best Practices for Test Case Writing
Best Practices for Test Case WritingBest Practices for Test Case Writing
Best Practices for Test Case WritingSarah Goldberg
 
Software testing enhance quality and performance of software
Software testing enhance quality and performance of softwareSoftware testing enhance quality and performance of software
Software testing enhance quality and performance of softwareEmipro Technologies Pvt. Ltd.
 
Distinguishing points between retesting and regression testing
Distinguishing points between retesting and regression testingDistinguishing points between retesting and regression testing
Distinguishing points between retesting and regression testingpooja deshmukh
 
Automate your functional testing
Automate your functional testingAutomate your functional testing
Automate your functional testingYasui Tsutomu
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test caseSrilu Balla
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingSeyed Ali Marjaie
 
Presentation Test Driven Development
Presentation Test Driven DevelopmentPresentation Test Driven Development
Presentation Test Driven DevelopmentRashmi Srivastava
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11Abdul Basit
 
Testcase definition
Testcase definitionTestcase definition
Testcase definitionOana Feidi
 
TGT#9 - Lessons learned in software testing - Olga Żądło
TGT#9 - Lessons learned in software testing - Olga ŻądłoTGT#9 - Lessons learned in software testing - Olga Żądło
TGT#9 - Lessons learned in software testing - Olga ŻądłoTrójmiejska Grupa Testerska
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)1Arun_Pandey
 

Was ist angesagt? (17)

Best Practices for Test Case Writing
Best Practices for Test Case WritingBest Practices for Test Case Writing
Best Practices for Test Case Writing
 
Software testing enhance quality and performance of software
Software testing enhance quality and performance of softwareSoftware testing enhance quality and performance of software
Software testing enhance quality and performance of software
 
Distinguishing points between retesting and regression testing
Distinguishing points between retesting and regression testingDistinguishing points between retesting and regression testing
Distinguishing points between retesting and regression testing
 
Automate your functional testing
Automate your functional testingAutomate your functional testing
Automate your functional testing
 
Effective Software Test Case Design Approach
Effective Software Test Case Design ApproachEffective Software Test Case Design Approach
Effective Software Test Case Design Approach
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test case
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting
 
Test cases
Test casesTest cases
Test cases
 
Presentation Test Driven Development
Presentation Test Driven DevelopmentPresentation Test Driven Development
Presentation Test Driven Development
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11
 
Testcase definition
Testcase definitionTestcase definition
Testcase definition
 
Khode_2.2years
Khode_2.2yearsKhode_2.2years
Khode_2.2years
 
How to write defect
How to write defectHow to write defect
How to write defect
 
TGT#9 - Lessons learned in software testing - Olga Żądło
TGT#9 - Lessons learned in software testing - Olga ŻądłoTGT#9 - Lessons learned in software testing - Olga Żądło
TGT#9 - Lessons learned in software testing - Olga Żądło
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
 
Kaushik sripathi
Kaushik sripathiKaushik sripathi
Kaushik sripathi
 
Kaushik sripathi
Kaushik sripathiKaushik sripathi
Kaushik sripathi
 

Andere mochten auch

Figaronron - Playstation home - Red Bull beach
Figaronron - Playstation home - Red Bull beachFigaronron - Playstation home - Red Bull beach
Figaronron - Playstation home - Red Bull beachFigaronron Figaronron
 
Resume_Shruti Sargam_Final
Resume_Shruti Sargam_FinalResume_Shruti Sargam_Final
Resume_Shruti Sargam_Finalshruti sargam
 
Topo Recherche Apr 2008
Topo Recherche Apr 2008Topo Recherche Apr 2008
Topo Recherche Apr 2008Jeremy Depauw
 
Life Journey
Life JourneyLife Journey
Life JourneyBea Tosta
 
Change 2013 - Benoit Gaillat
Change 2013 - Benoit GaillatChange 2013 - Benoit Gaillat
Change 2013 - Benoit Gaillatrbschange
 
Presentation sq 5
Presentation sq 5Presentation sq 5
Presentation sq 5BisonC
 
[NEWS #07] (re)découvrez l'essentiel de l'actu mobile
[NEWS #07] (re)découvrez l'essentiel de l'actu mobile[NEWS #07] (re)découvrez l'essentiel de l'actu mobile
[NEWS #07] (re)découvrez l'essentiel de l'actu mobileBemobee Solutions
 
Lichtenstein portraits
Lichtenstein portraitsLichtenstein portraits
Lichtenstein portraitsavalanchequeen
 
Predigtpräsentation 2008 11 30, Zungenreden
Predigtpräsentation 2008 11 30,  ZungenredenPredigtpräsentation 2008 11 30,  Zungenreden
Predigtpräsentation 2008 11 30, Zungenredenwusternberg
 
Les publics déficients visuels Luc Maumet 13 octobre 2015 ENSSIB FIBE
Les publics déficients visuels Luc Maumet 13 octobre 2015 ENSSIB FIBELes publics déficients visuels Luc Maumet 13 octobre 2015 ENSSIB FIBE
Les publics déficients visuels Luc Maumet 13 octobre 2015 ENSSIB FIBElucmaumet
 

Andere mochten auch (20)

resume
resumeresume
resume
 
El cepillo
El cepilloEl cepillo
El cepillo
 
Figaronron - Gay Pride (14-05-2011)
Figaronron - Gay Pride (14-05-2011)Figaronron - Gay Pride (14-05-2011)
Figaronron - Gay Pride (14-05-2011)
 
Figaronron - Playstation home - Red Bull beach
Figaronron - Playstation home - Red Bull beachFigaronron - Playstation home - Red Bull beach
Figaronron - Playstation home - Red Bull beach
 
perfil ocupacional
perfil ocupacional  perfil ocupacional
perfil ocupacional
 
Resume_Shruti Sargam_Final
Resume_Shruti Sargam_FinalResume_Shruti Sargam_Final
Resume_Shruti Sargam_Final
 
Presentación Rss
Presentación RssPresentación Rss
Presentación Rss
 
Critical questions
Critical questionsCritical questions
Critical questions
 
Nanoxx
NanoxxNanoxx
Nanoxx
 
Topo Recherche Apr 2008
Topo Recherche Apr 2008Topo Recherche Apr 2008
Topo Recherche Apr 2008
 
Life Journey
Life JourneyLife Journey
Life Journey
 
Change 2013 - Benoit Gaillat
Change 2013 - Benoit GaillatChange 2013 - Benoit Gaillat
Change 2013 - Benoit Gaillat
 
Bandera3
Bandera3Bandera3
Bandera3
 
Presentation sq 5
Presentation sq 5Presentation sq 5
Presentation sq 5
 
FVH Flyer
FVH FlyerFVH Flyer
FVH Flyer
 
[NEWS #07] (re)découvrez l'essentiel de l'actu mobile
[NEWS #07] (re)découvrez l'essentiel de l'actu mobile[NEWS #07] (re)découvrez l'essentiel de l'actu mobile
[NEWS #07] (re)découvrez l'essentiel de l'actu mobile
 
Lichtenstein portraits
Lichtenstein portraitsLichtenstein portraits
Lichtenstein portraits
 
Predigtpräsentation 2008 11 30, Zungenreden
Predigtpräsentation 2008 11 30,  ZungenredenPredigtpräsentation 2008 11 30,  Zungenreden
Predigtpräsentation 2008 11 30, Zungenreden
 
Grisel
GriselGrisel
Grisel
 
Les publics déficients visuels Luc Maumet 13 octobre 2015 ENSSIB FIBE
Les publics déficients visuels Luc Maumet 13 octobre 2015 ENSSIB FIBELes publics déficients visuels Luc Maumet 13 octobre 2015 ENSSIB FIBE
Les publics déficients visuels Luc Maumet 13 octobre 2015 ENSSIB FIBE
 

Ähnlich wie Is MOQ The End Of Unit Test

#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...Agile Testing Alliance
 
vivekautomationtestingresume
vivekautomationtestingresumevivekautomationtestingresume
vivekautomationtestingresumeVivek Jha
 
Bharath Kesana Selinium Automation Tester
Bharath Kesana Selinium Automation TesterBharath Kesana Selinium Automation Tester
Bharath Kesana Selinium Automation TesterBharath Kesana
 
Automation Testing
Automation TestingAutomation Testing
Automation TestingShefali jain
 
A journey to_be_a_software_craftsman
A journey to_be_a_software_craftsmanA journey to_be_a_software_craftsman
A journey to_be_a_software_craftsmanJaehoon Oh
 
Test Automation - Presented by Nagarajan, Architect @ TechCafe-2014
Test Automation - Presented by Nagarajan, Architect @ TechCafe-2014Test Automation - Presented by Nagarajan, Architect @ TechCafe-2014
Test Automation - Presented by Nagarajan, Architect @ TechCafe-2014Neev Technologies
 
1.6 years Exp (Kumar Shanu)
1.6 years Exp (Kumar Shanu)1.6 years Exp (Kumar Shanu)
1.6 years Exp (Kumar Shanu)Kumar Shanu
 
AjayShinde_AutomationTesting_2.5+YrsExp.doc
AjayShinde_AutomationTesting_2.5+YrsExp.docAjayShinde_AutomationTesting_2.5+YrsExp.doc
AjayShinde_AutomationTesting_2.5+YrsExp.docAjay Shinde
 
Unit Testing Full@
Unit Testing Full@Unit Testing Full@
Unit Testing Full@Alex Borsuk
 
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov Display
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov DisplayIRJET- Slant Analysis of Customer Reviews in View of Concealed Markov Display
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov DisplayIRJET Journal
 
Testing frameworks
Testing frameworksTesting frameworks
Testing frameworksSakthi K
 
Testing Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation FrameworksTesting Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation FrameworksŁukasz Morawski
 

Ähnlich wie Is MOQ The End Of Unit Test (20)

#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
#ATAGTR2021 Presentation - "Test Craftmanship: Crafting Continuously Evolving...
 
ANUJA KADLOOR
ANUJA KADLOORANUJA KADLOOR
ANUJA KADLOOR
 
vivekautomationtestingresume
vivekautomationtestingresumevivekautomationtestingresume
vivekautomationtestingresume
 
Bharath Kesana Selinium Automation Tester
Bharath Kesana Selinium Automation TesterBharath Kesana Selinium Automation Tester
Bharath Kesana Selinium Automation Tester
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
A journey to_be_a_software_craftsman
A journey to_be_a_software_craftsmanA journey to_be_a_software_craftsman
A journey to_be_a_software_craftsman
 
Test Automation - Presented by Nagarajan, Architect @ TechCafe-2014
Test Automation - Presented by Nagarajan, Architect @ TechCafe-2014Test Automation - Presented by Nagarajan, Architect @ TechCafe-2014
Test Automation - Presented by Nagarajan, Architect @ TechCafe-2014
 
Purushothama_Resume
Purushothama_ResumePurushothama_Resume
Purushothama_Resume
 
1.6 years Exp (Kumar Shanu)
1.6 years Exp (Kumar Shanu)1.6 years Exp (Kumar Shanu)
1.6 years Exp (Kumar Shanu)
 
AjayShinde_AutomationTesting_2.5+YrsExp.doc
AjayShinde_AutomationTesting_2.5+YrsExp.docAjayShinde_AutomationTesting_2.5+YrsExp.doc
AjayShinde_AutomationTesting_2.5+YrsExp.doc
 
param cv
param cvparam cv
param cv
 
Venkata Ravi Majjari
Venkata Ravi MajjariVenkata Ravi Majjari
Venkata Ravi Majjari
 
Kopal_Agrawal_CV
Kopal_Agrawal_CVKopal_Agrawal_CV
Kopal_Agrawal_CV
 
Unit Testing Full@
Unit Testing Full@Unit Testing Full@
Unit Testing Full@
 
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov Display
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov DisplayIRJET- Slant Analysis of Customer Reviews in View of Concealed Markov Display
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov Display
 
Resume
ResumeResume
Resume
 
Presentation delex
Presentation delexPresentation delex
Presentation delex
 
Testing frameworks
Testing frameworksTesting frameworks
Testing frameworks
 
UAT LEAD
UAT LEADUAT LEAD
UAT LEAD
 
Testing Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation FrameworksTesting Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation Frameworks
 

Kürzlich hochgeladen

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Is MOQ The End Of Unit Test

  • 1. IS MOQ END OF UNIT TESTING? White Paper June2016 INTRODUCTION The conceptof mocking the unit tests is aroundfor some time now.My question is, “Is MOQthe end of unit testing”. MOCK TESTS The behavior of the applications can be mocked and tested. For example, using MOQ framework, the return value of a method call can be mocked to return custom values. The custom values then can be matchedwith the expectedvalue to findoutif the methodhas performedcorrectly.MOQcanbe usedto test if a particular method has been called and/or how many times it has been called to test the functionality. WHY THE QUESTION? Using MOQ, we cannottest some of the actual functionality, for example testing the retrieval from the database. AND THE ANSWER IS MOQ is NOT the end of unit testing. Still the developer needs to unit test the real functionalities (for example database transactions). ABOUT THE AUTHOR Ramasubramanian Thumati Rajendran has over 15 years of experience in technologies ranging from FoxPro,VisualBasic,.NET,SharePoint,SQLServer, Oracle,and MSBI.Heis workingasa senior architect with SwordGlobal India P Ltd, Chennai, India managing MicrosoftAzure,SharePoint and .Net projects. Hecanbe reachedat Ramasubramanian.r@sword-in.com.Alternately,hecanbereachedat hispersonal email ram.thumati@gmail.com.