Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 710 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 710 Bytes

Unit testing with COBOL

This is a proof of concept to show case unit testing with COBOL. The proof of concept implements the FizzBuzz kata using Test Driven Development.

Unit tests are implemented using @neopragma's cobol-unit-test.

Pre-requisites

To compile and run the tests and program you need the GnuCOBOL compiler.

For MacOS:

$ brew install gnu-cobol

Execute FizzBuzz program

To compile and execute the program:

$ make compile
$ ./target/FIZZBUZZ

Run the tests

To run the tests:

$ make test