Agile Event Session

Test-Driven Development in Cobol

This video content is for Agile Alliance members only

If you’re already an active member, please log in now.

To view this content, and gain access to many more valuable resources, conference discounts, and invitations to exclusive networking and learning events, please consider becoming an Agile Alliance member.

Abstract/Description

Mainframes, like Mark Twain, may well say, “The reports of my death are greatly exaggerated.” Mainframe systems have always been around, quietly processing 80% or more of financial transactions worldwide while people’s attention was focused on colorful and innovative front-ends. Now mainframes are enjoying a resurgence. There is growing demand for Cobol programming skills and general mainframe skills. In the past 25 years or so, people working on mainframe applications have lived in a separate world from everyone else. They have not adopted many of the technical practices we usually associate with Agile software development. Only now, commercial software vendors and open source projects are filling the gaps in tooling for building and supporting mainframe applications using contemporary methods. One of the largest gaps is in tooling to support fine-grained test-driven development for traditional mainframe languages, especially Cobol. Traditional mainframe languages were not designed to allow inspection of code at runtime or to enable small sections of code to be exercised in isolation. Testing tools developed by the major players in the mainframe software market can’t exercise any smaller subset of code than an entire executable. This makes it difficult to run a large number of unit test cases quickly, without any dependencies on external resources.

Today we’ll take a look at an open source project that aims to provide Cobol programmers with the same level of granular unit testing as programmers in other languages enjoy. Cobol Check is designed to enable isolated execution of single Cobol paragraphs, and to stub out all references to external dependencies such as files, databases, subprograms, and CICS facilities. Now “full stack” developers have the tooling they need to deliver a vertical slice of functionality all the way through the true “full stack.”

Additional Resources

Add to Bookmarks Remove Bookmark
Add to Bookmarks Remove from Bookmarks
Add to Bookmarks Remove from Bookmarks

Speaker(s) may be willing to present this session at local group meetings and other events.

Agile2021
Talk

More Agile Event Session Videos

Green Tests and Red Tests
A central benefit of doing test-first development is getting a suite of behavioral tests to regress code and support refactoring efforts. But when doing test-first development in practice, many developers write too many tests and implementation-depen…
Technical Agile Coaching with the Samman Method
Samman is a method for people who want to make a difference and improve the way software is built. The focus is specifically on technical practices and how people write code, and it's the best way I know to help software developers to adopt practices…
Green Tests and Red Tests
A central benefit of doing test-first development is getting a suite of behavioral tests to regress code and support refactoring efforts. But when doing test-first development in practice, many developers write too many tests and implementation-depen…

Have a comment? Join the conversation

Discover the many benefits of membership

Your membership enables Agile Alliance to offer a wealth of first-rate resources, present renowned international events, support global community groups, and more — all geared toward helping Agile practitioners reach their full potential and deliver innovative, Agile solutions.

Not yet a member? Sign up now