All Collections
Tests / Autograding
Running tests
When I run a test using codePost, where does the test run?
When I run a test using codePost, where does the test run?

Learn where your tests are run and what that means for you.

James avatar
Written by James
Updated over a week ago

Whenever you run a test using the codePost autograder, that test runs on a codePost server inside of a container, whose parameters are specified by your environment. As a result, all you need to worry about is defining good tests!

Our set-up also has the following properties:

  • When you run tests across multiple submissions, each student's code is run in a separate container. 

  • Each container has a default timeout of 20 seconds. If that time is exceeded, you'll see a timeout error in that test result. 

  • Containers are restricted from accessing the internet. If student code or test code contains network calls, the tests will still run, but any network-dependent code will return an error. 

Did this answer your question?