COMP 200 Resources

[Rice University]

OwlTest Instructions

  1. Direct link to OwlTest site: http://www.clear.rice.edu/owltest
  2. OwlTest is an on-line testing tool that can be used by students to test selected exercises and assignment problems.   All the student needs to do is to create a Python file containing the necessary function definitions and upload that file to Owltest under the matching assignment/exercise.   OwlTest will run PyUnit-based unit tests on the student's code, returning the results for examination.
  3. First Time Users

  4. The first time you use WebTest, please follow these directions to register on the site and to associate yourself with specific courses:
  5. Go to http://www.clear.rice.edu/owltest
  6. Click the Login link.   You will be redirected to a standard Rice NetId login screen.   Login using your NetId.
  7. Add a course to your profile by clicking the +Add link to the right of the Courses link and selecting the desired course.
  8. Continue below in the "Returning Users" section, Step 3.

Returning Users

  1. Go to http://www.clear.rice.edu/owltest
  2. Click the Login link.   You will be redirected to a standard Rice NetId login screen.   Login using your NetId.
  3. Click the Courses link.
  4. Select the desired assignment/exercise
  5. Upload your file for testing.

 

Important Usage Notes

  1. The functions in your code must match to required test's specifications EXACTLY:
    • Same function name
    • Same input parameters in the same order
    • Same return values in the same order
  2. Your code file must excute completely with NO user interaction.
    • For instance, you should be able to do something like "run myCode.py" in iPython and have the command prompt return with no user interaction.
    • No modal dialog windows like graph plots can shown!