Skip to content

thinkinglabs/cobol-fizzbuzz-kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published