Learn how to test your COBOL exercises on Exercism
Choose your current OS:
Open a Command Prompt.
Get the first exercise:
C:\Users\USERNAME> exercism download --exercise hello-world --track cobol
Change directory into the exercise folder:
C:\Users\USERNAME> cd C:\Users\USERNAME\exercism\cobol\hello-world
Run the tests:
C:\Users\USERNAME\exercism\cobol\hello-world> test.ps1
(Don't worry if the tests fail when you first run them, this is how you begin each exercise.)
Solve the exercise.
Read through the instructions.md
and see how to solve the exercise (view on GitHub).
Good luck, have fun and welcome to the COBOL track!
Open a Terminal window.
Get the first exercise:
$ exercism download --exercise hello-world --track cobol
Change directory into the exercise folder:
$ cd /Users/USERNAME/exercism/cobol/hello-world
Run the tests:
$ bash test.sh
(Don't worry if the tests fail when you first run them, this is how you begin each exercise.)
Hint: If you get a message that basename
is missing, you can use brew to install coreutils. (brew install coreutils
)
Solve the exercise.
Read through the instructions.md
and see how to solve the exercise (view on GitHub).
Good luck, have fun and welcome to the COBOL track!
Open a Terminal window.
Get the first exercise:
$ exercism download --exercise hello-world --track cobol
Change directory into the exercise folder:
$ cd /home/USERNAME/exercism/cobol/hello-world
Run the tests:
$ bash test.sh
(Don't worry if the tests fail when you first run them, this is how you begin each exercise.)
Solve the exercise.
Read through the instructions.md
and see how to solve the exercise (view on GitHub).
Good luck, have fun and welcome to the COBOL track!