Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO

Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO

Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO
  • Portfolio
  • About
    • About Me
    • FAQ
  • Services
  • Blog
  • Contact Me

 5 questions every unit test must answer

 5 questions every unit test must answer

Posted on
October 17, 2018
by Chris Rosenau

There are 5 questions every unit test must answer. I’ve described them in detail before, so we’ll just skim them this time:

  1. What is the unit under test (module, function, class, whatever)?
  2. What should it do? (Prose description)
  3. What was the actual output?
  4. What was the expected output?
  5. How do you reproduce the failure?

Read the rest of the article here.

Blog

Recent Posts

  • WordPress 5 Classic Block
  • WordPress 5 Expand Post/Page Editing Area
  • Magento 2 module creator
  • Microservices + Events + Docker = A Perfect Trio
  • Code This Not That Javascript

Archives

  • December 2018
  • November 2018
  • October 2018
  • August 2018
  • March 2018
  • November 2017
  • October 2017
  • August 2017
  • May 2017
  • January 2014
  • December 2013
  • October 2013
  • September 2013
  • March 2013
  • June 2012
  • September 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010

Categories

  • Blog
  • demo
  • movie
Follow me on Mastodon
© 2024 Magento Wizard. All rights reserved
  • Privacy Policy