/ok-client

A Python client for the OK autograding system

Primary LanguagePythonApache License 2.0Apache-2.0

ok client

The ok client script (written in Python) supports programming projects by running tests, tracking progress, and assisting in debugging.

Visit http://okpy.org to use our hosted service for your course.

The ok client software was developed for CS 61A at UC Berkeley.

Build Status

Developer Instructions

Installation

  1. Clone this repo

  2. Install virtualenv

  3. Create a virtual environment:

     virtualenv -p python3 .
    
  4. Activate the virtual environment:

     source bin/activate
    
  5. Install requirements:

     pip install -r requirements.txt
    

Contributing

Every time you begin, you should activate the virtual environment:

source bin/activate

All code for the client is found in the client/ directory.

The tests/ directory mirrors the directory structure of the client/ directory. Every component of the client should have plenty of tests. To run all tests, use the following command:

nosetests tests