Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Set up the bok-choy test server. This will take about 15 minutes.

    paver test_bokchoy -r

    -r stands for --serversonly.

  2. In another terminal window, run tests. The test modules are relative to common/test/acceptance/tests/.

    paver test_bokchoy -a -o -t video/test_video_events.py

    paver test_bokchoy -a -o -t video/test_studio_video_editor.py

    paver test_bokchoy -a -o -t lms/test_lms_cohorted_courseware_search.py

    -a stands for --fasttest and -o stands for --testsonly. Both options must be set while in client mode.

  3. In another terminal window, run tests. The test modules are relative to common/test/acceptance/tests/.

    paver test_bokchoy -a -o -t lms/test_problem_types.py

    There are known failures for this test suite currently.

  4. Make sure X11 forwarding work. You must be on the host machine (physically or via Screen Sharing). X11 forwarding doesn't work if you're SSHed into the host machine.

    1. Install XQuartz

    brew cask install xquartz

    2. Let Vagrant know you want to forward X11.

    export VAGRANT_X11=1

    3. Start the guest box and SSH into it.

    vagrant up && vagrant ssh

    4. Verify X11 forwarding is working in the guest VM.

    $ echo $DISPLAY

    localhost:10.0

    You can also start Firefox, for example, and it should show up on your desktop via XQuartz.

    firefox

...