Skip to main content

Deprecated UI-level acceptance test framework

Project description

PyPI Github CI Codecov Documentation Supported Python versions License

UI-level acceptance test framework. Full documentation available on ReadTheDocs.

⚠️ Deprecation Notice ⚠️

As of 2022-02-18, bok-choy is deprecated. All tests written using bok-choy have either been removed or are slated to be removed soon. Please do not write new tests using bok-choy! In the near future, this repository will be archived.

Overview

A Python framework for writing robust Selenium tests.

Installation

As Bok Choy is a Python framework, you first need to install Python. If you’re running Linux or Mac OS X, you probably already have it installed. We recommend that you use pip to install your Python packages:

pip install bok_choy

Running Tests

To run the test suite for bok-choy itself:

  • Install Firefox; as of this writing, the current version 59.0.1 works with the latest selenium Python package (3.11.0)

  • Install phantomjs

  • Create a virtualenv which uses Python 3.8

  • With that virtualenv activated, run pip install -r requirements/ci.txt to install the tox testing tool and its dependencies

  • Run tox -e py38. If you want to run the tests in parallel, add the desired number of worker processes like tox -e py38 -- -n 5 or tox -e py38 -- -n auto.

  • To test and build the documentation, run tox -e doc

  • To run an individual test, run py.test tests/<test file>::<test class>::<test name>

License

The code in this repository is licensed under the Apache License, Version 2.0, unless otherwise noted.

Please see LICENSE.txt for details.

How to Contribute

Contributions are very welcome. The easiest way is to fork this repo, and then make a pull request from your fork. The first time you make a pull request, you may be asked to sign a Contributor Agreement.

Reporting Security Issues

Please do not report security issues in public. Please email security@edx.org

Mailing List and IRC Channel

You can discuss this code on the edx-code Google Group or in the testing channel on the Open edX Slack.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bok_choy-2.0.2.tar.gz (159.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bok_choy-2.0.2-py2.py3-none-any.whl (150.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file bok_choy-2.0.2.tar.gz.

File metadata

  • Download URL: bok_choy-2.0.2.tar.gz
  • Upload date:
  • Size: 159.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for bok_choy-2.0.2.tar.gz
Algorithm Hash digest
SHA256 f4bf112aac866c3103b4c76fe71ae3239f69d1e047974d6655cd29fcb18087cf
MD5 41c0fddc685459e2148156afbf2f0b61
BLAKE2b-256 1b22c36d654c1862cfdbc9f00b08cc3dbc80327501c4826559b30bd152f53337

See more details on using hashes here.

File details

Details for the file bok_choy-2.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: bok_choy-2.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 150.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for bok_choy-2.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 168ea62809b4ed48d7a13e24788a1cba130730caa9d107fb04d24ebb3bbfcd4b
MD5 1c66690601d72a791e3d6c6eff0baafe
BLAKE2b-256 66207e2a0acbf4cd72a16659b03b905b4b40c3dd142f71813ded65c2362297fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page