Reader small image

You're reading from  Agile Model-Based Systems Engineering Cookbook Second Edition - Second Edition

Product typeBook
Published inDec 2022
PublisherPackt
ISBN-139781803235820
Edition2nd Edition
Right arrow
Author (1)
Dr. Bruce Powel Douglass
Dr. Bruce Powel Douglass
author image
Dr. Bruce Powel Douglass

Dr. Bruce Powel Douglass, Ph.D. has deep and broad expertise as a result of over 40 years' experience designing safety-critical real-time systems in a variety of hard real-time environments. He is one of the authors of both the UML and SysML standards, and author to over 6000 book pages from a number of technical books including The Harmony aMBSE Deskbook, Agile Systems Engineering, Real-Time UML, Real-Time UML Workshop for Embedded Systems, Real-Time Design Patterns, Doing Hard Time, Real-Time Agility, and Design Patterns for Embedded Systems in C. Many presentations, papers, models, designs, and more can be found on his website. He is currently the Senior Principal Agile Systems Engineer at the MITRE Corporation.
Read more about Dr. Bruce Powel Douglass

Right arrow

Test Driven Modeling

For the last recipe in the book, I’d like to present a recipe that is central to my view of the integration of modeling and agile methods. The archetypal workflow in software agile methods is test-driven development (TDD), in which you do the following:

    Loop
        Write a test case
        Write a bit of code to meet that test case
        Apply test case
        If (defect) fix defect
    Until done

It’s an appealing story, to be sure. Each loop shouldn’t take more than a few minutes. This is a key means in agile methods to develop high-quality code: test incrementally throughout the coding process.

TDD aligns with this Law of Douglass:

The best way not to have defects in your system is to not put any defects into your system.

Law of Douglass #30

See https://www.bruce-douglass.com/geekosphere for further information.

This points out that it is far easier to develop high-quality systems...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Agile Model-Based Systems Engineering Cookbook Second Edition - Second Edition
Published in: Dec 2022Publisher: PacktISBN-13: 9781803235820

Author (1)

author image
Dr. Bruce Powel Douglass

Dr. Bruce Powel Douglass, Ph.D. has deep and broad expertise as a result of over 40 years' experience designing safety-critical real-time systems in a variety of hard real-time environments. He is one of the authors of both the UML and SysML standards, and author to over 6000 book pages from a number of technical books including The Harmony aMBSE Deskbook, Agile Systems Engineering, Real-Time UML, Real-Time UML Workshop for Embedded Systems, Real-Time Design Patterns, Doing Hard Time, Real-Time Agility, and Design Patterns for Embedded Systems in C. Many presentations, papers, models, designs, and more can be found on his website. He is currently the Senior Principal Agile Systems Engineer at the MITRE Corporation.
Read more about Dr. Bruce Powel Douglass