Skip to main content
All CollectionsTests / Autograding
What Operating System are my tests running on?
What Operating System are my tests running on?

Getting the operating system version and debugging

Richard avatar
Written by Richard
Updated over 4 years ago

codePost provisions a handful of various environment containers, depending on the testing use-case and requirements.

Custom environments are available. Here are the details for the standard test environments:

Trust, but Verify

To identify the details of the operating system your tests are being run on yourself, you can follow these instructions (video walkthrough here):

  • Create a new Unit Test (Bash)

  • Add this line to the test definition:
    cat /etc/os-release 

  • Click "Run"

Did this answer your question?