SlideShare a Scribd company logo
Integration Testing With
SpecsFor.Mvc – ASP.NET MVC
    Testing on Steroids!
        Matt Honeycutt
        @matthoneycutt
     http://trycatchfail.com
What is SpecsFor.Mvc?
What is it?



ASP.NET Application        Abstraction Over           Strongly-Typed API
Host                       Selenium Web               for Browser
• Built on IIS Express     Driver                     Automation
• Deploy and host your     • Handles browser driver   • Unit-test like syntax
  app when you run your      management               • Navigation and page
  tests                    • Abstracts away some        manipulation based on
• Includes a “stub” SMTP     “wonkiness”                lambda expressions
  server
SpecsFor != SpecsFor.Mvc




        SpecsFor        SpecsFor.Mvc
         Awesome unit       Awesome
           testing         integration
                             testing
SpecsFor !=
SpecsFor.Mvc




PURE AWESOME
       SpecsFor
        Awesome unit
          testing
                       SpecsFor.Mvc
                           Awesome
                          integration
                            testing
Automated Acceptance Testing
Why isn’t everyone doing
automated acceptance testing?
Tests should enable change, not
discourage it.
Good Tests Should NOT:



Introduce development friction

Break when you refactor code

Break for the wrong reasons
Good Tests SHOULD:


Decrease the time between feature inception
and completed feature live in production

Give you confidence

Work on any machine with minimal
configuration
AAT with Selenium Web Driver
Integration testing with specs formvc
Support Requests

As a Fail Tracker user or as a potential user,
I want to be able to contact the development
team through the Fail Tracker application so
that I can bug them throughout the day.
Limitations:


 SLOW

 1.0 release – still rough!

 Not flexible
What now?




                     Contributors wanted!


 http://specsfor.com        @matthoneycutt
     Official home of
                                                    http://trycatchFAIL.com
                            I might say something     Blog, Videos, and More!
SpecsFor.Mvc and SpecsFor   interesting some day…

More Related Content

PPTX
Presentation_Protractor
PPTX
Protractor
PDF
Create an architecture for web test automation
PPTX
The wild wild west of Selenium Capabilities
PPTX
Protractor for angularJS
PPTX
Protractor overview
PDF
Cypress - Best Practices
PPTX
Cypress for Testing
Presentation_Protractor
Protractor
Create an architecture for web test automation
The wild wild west of Selenium Capabilities
Protractor for angularJS
Protractor overview
Cypress - Best Practices
Cypress for Testing

What's hot (20)

PDF
Trust Your Pipeline - Automatically Testing and End-to-End Java Application
PPTX
Selenium with protractor
PDF
Automated Web Testing With Selenium
PDF
Java Test Automation for REST, Web and Mobile
PPTX
Automated Testing using JavaScript
PPTX
End to end test automation with cypress
PPTX
Selenium
PDF
Selenium Tips & Tricks
ODP
Fabulous Tests on Spock and Groovy
PDF
Getting Started With Cypress
PPTX
2 selenium-aakar gupte
PDF
[FullStack NYC 2019] Effective Unit Tests for JavaScript
PPTX
Automation using Javascript
PPTX
Cross browser testing
PDF
Aikau testing tech talk live 83 20150204
PPT
Ppt of soap ui
PDF
Automated UI testing.Selenium.DrupalCamp Kyiv 2011
PPTX
Decapitating Selenium with JavaScript
PPT
Presentation for soap ui
PPTX
Selenium and Appium Training from Sauce Labs
Trust Your Pipeline - Automatically Testing and End-to-End Java Application
Selenium with protractor
Automated Web Testing With Selenium
Java Test Automation for REST, Web and Mobile
Automated Testing using JavaScript
End to end test automation with cypress
Selenium
Selenium Tips & Tricks
Fabulous Tests on Spock and Groovy
Getting Started With Cypress
2 selenium-aakar gupte
[FullStack NYC 2019] Effective Unit Tests for JavaScript
Automation using Javascript
Cross browser testing
Aikau testing tech talk live 83 20150204
Ppt of soap ui
Automated UI testing.Selenium.DrupalCamp Kyiv 2011
Decapitating Selenium with JavaScript
Presentation for soap ui
Selenium and Appium Training from Sauce Labs
Ad

Similar to Integration testing with specs formvc (20)

PPTX
Techorama 2017 - Testing the unit, and beyond.
PDF
How the JDeveloper team test JDeveloper at UKOUG'08
PDF
Planning & building scalable test infrastructure
PDF
Automated testing
PPTX
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
PPTX
Automated Testing but like for PowerShell (April 2012)
PPTX
Telerik test studio webinar deck
PDF
Agile Software Testing the Agilogy Way
PDF
Testable Requirements
PPTX
Real Testing Scenario Strategy Practical TestOps Presentation
PPTX
Software testing and quality assurance
PPT
Software Testing
PPTX
Introduction to software testing
PDF
QUALITY CENTER SYLLABUS
PPT
Paper PsUpload
PPT
justin presentation upload PPT june 19
PPT
justin presentation Slideshare PPT upload June 25 Final one
PPT
Justin Presentation PPT Upload June 25 adv
PPT
justin for ppt1 by browse button
PPT
upload ppt by browse button
Techorama 2017 - Testing the unit, and beyond.
How the JDeveloper team test JDeveloper at UKOUG'08
Planning & building scalable test infrastructure
Automated testing
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
Automated Testing but like for PowerShell (April 2012)
Telerik test studio webinar deck
Agile Software Testing the Agilogy Way
Testable Requirements
Real Testing Scenario Strategy Practical TestOps Presentation
Software testing and quality assurance
Software Testing
Introduction to software testing
QUALITY CENTER SYLLABUS
Paper PsUpload
justin presentation upload PPT june 19
justin presentation Slideshare PPT upload June 25 Final one
Justin Presentation PPT Upload June 25 adv
justin for ppt1 by browse button
upload ppt by browse button
Ad

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Cloud computing and distributed systems.
PPTX
Big Data Technologies - Introduction.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Approach and Philosophy of On baking technology
KodekX | Application Modernization Development
Agricultural_Statistics_at_a_Glance_2022_0.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Cloud computing and distributed systems.
Big Data Technologies - Introduction.pptx
Network Security Unit 5.pdf for BCA BBA.
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Advanced methodologies resolving dimensionality complications for autism neur...
The Rise and Fall of 3GPP – Time for a Sabbatical?
“AI and Expert System Decision Support & Business Intelligence Systems”
Spectroscopy.pptx food analysis technology
Understanding_Digital_Forensics_Presentation.pptx
Electronic commerce courselecture one. Pdf
Chapter 3 Spatial Domain Image Processing.pdf
Encapsulation theory and applications.pdf
Unlocking AI with Model Context Protocol (MCP)
Reach Out and Touch Someone: Haptics and Empathic Computing
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Approach and Philosophy of On baking technology

Integration testing with specs formvc

  • 1. Integration Testing With SpecsFor.Mvc – ASP.NET MVC Testing on Steroids! Matt Honeycutt @matthoneycutt http://trycatchfail.com
  • 3. What is it? ASP.NET Application Abstraction Over Strongly-Typed API Host Selenium Web for Browser • Built on IIS Express Driver Automation • Deploy and host your • Handles browser driver • Unit-test like syntax app when you run your management • Navigation and page tests • Abstracts away some manipulation based on • Includes a “stub” SMTP “wonkiness” lambda expressions server
  • 4. SpecsFor != SpecsFor.Mvc SpecsFor SpecsFor.Mvc Awesome unit Awesome testing integration testing
  • 5. SpecsFor != SpecsFor.Mvc PURE AWESOME SpecsFor Awesome unit testing SpecsFor.Mvc Awesome integration testing
  • 7. Why isn’t everyone doing automated acceptance testing?
  • 8. Tests should enable change, not discourage it.
  • 9. Good Tests Should NOT: Introduce development friction Break when you refactor code Break for the wrong reasons
  • 10. Good Tests SHOULD: Decrease the time between feature inception and completed feature live in production Give you confidence Work on any machine with minimal configuration
  • 11. AAT with Selenium Web Driver
  • 13. Support Requests As a Fail Tracker user or as a potential user, I want to be able to contact the development team through the Fail Tracker application so that I can bug them throughout the day.
  • 14. Limitations: SLOW 1.0 release – still rough! Not flexible
  • 15. What now? Contributors wanted! http://specsfor.com @matthoneycutt Official home of http://trycatchFAIL.com I might say something Blog, Videos, and More! SpecsFor.Mvc and SpecsFor interesting some day…