xUnit Test Patterns: Refactoring Test Code (Addison-Wesley Signature Series (Fowler)) by Gerard Meszaros
Author:Gerard Meszaros [Meszaros, Gerard]
Language: eng
Format: mobi
Publisher: Pearson Education
Published: 2007-05-21T00:00:00+00:00
Note that this class doesn't subclass any other class. It does need to import TestSuite and the classes it is using as Test Suite Factories.
Example: Test Suite Procedure
In the early days of agile software development, before any agile project management tools were available, I built a set of Excel spreadsheets for managing tasks and user stories. To make life simpler, I automated frequently performed tasks such as sorting all stories by release and iteration, sorting tasks by iteration and status, and so on. Eventually, I got bold enough to write a macro (a program, really) that would sum up the estimated and actual effort of all tasks for each story. At this point, the code was becoming somewhat complex and was more challenging to maintain. In particular, if one of the named ranges used by the sorting macros was accidentally deleted, the macro would produce an error.
Unfortunately, there was no xUnit framework for VBA at the time, so all of this work was done without Tests as Safety Net (see page 24). Here is the main program of the reporting macro. All output was written to a new sheet in the workbook.
'Main Macro
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
AI & Machine Learning | Bioinformatics |
Computer Simulation | Cybernetics |
Human-Computer Interaction | Information Theory |
Robotics | Systems Analysis & Design |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8293)
Test-Driven Development with Java by Alan Mellor(6666)
Data Augmentation with Python by Duc Haba(6571)
Principles of Data Fabric by Sonia Mezzetta(6332)
Learn Blender Simulations the Right Way by Stephen Pearson(6217)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6091)
Hadoop in Practice by Alex Holmes(5958)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5806)
RPA Solution Architect's Handbook by Sachin Sahgal(5486)
Big Data Analysis with Python by Ivan Marin(5332)
The Infinite Retina by Robert Scoble Irena Cronin(5184)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5140)
Pretrain Vision and Large Language Models in Python by Emily Webber(4294)
Infrastructure as Code for Beginners by Russ McKendrick(4053)
Functional Programming in JavaScript by Mantyla Dan(4037)
The Age of Surveillance Capitalism by Shoshana Zuboff(3943)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3768)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3570)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3544)
