Skip to main content

A Robot Framework library for automating (testing of) Jupyter end-user applications and extensions

Project description

robotframework-jupyterlibrary

A Robot Framework library for automating (testing of) Jupyter end-user applications and extensions

pip conda docs demo actions
pip-badge conda-forge-badge docs-badge binder-badge workflow-badge

Using

Write .robot files that use JupyterLibrary keywords.

*** Settings ***
Library           JupyterLibrary
Suite Setup       Wait for New Jupyter Server to be Ready
Test Teardown     Reset JupyterLab and Close
Suite Teardown    Terminate All Jupyter Servers

*** Test Cases ***
A Notebook in JupyterLab
    Open JupyterLab
    Launch a new JupyterLab Document
    Add and Run JupyterLab Code Cell
    Wait Until JupyterLab Kernel Is Idle
    Capture Page Screenshot

or use magics in notebooks.

See the acceptance tests for examples.

Installation

pip install robotframework-jupyterlibrary

Or

conda install -c conda-forge robotframework-jupyterlibrary

Development Installation

  • get Firefox

    • Chrome works, too, but more fickle
  • get Miniforge (as in Python 3.6+)

  • clone this repo...

    git clone https://github.com/robots-from-jupyter/robotframework-jupyterlibrary
    cd robotframework-jupyterlibrary
    
  • update and activate...

    conda env update
    conda activate robotframework-jupyterlibrary
    
  • then...

    pip install -e . --no-deps --ignore-installed
    
  • run the tests...

    python -m scripts.atest
    

Free Software

JupyterLibrary is Free Software under the BSD-3-Clause License. It contains code from a number of other projects:

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

robotframework-jupyterlibrary-0.3.0a0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file robotframework-jupyterlibrary-0.3.0a0.tar.gz.

File metadata

  • Download URL: robotframework-jupyterlibrary-0.3.0a0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for robotframework-jupyterlibrary-0.3.0a0.tar.gz
Algorithm Hash digest
SHA256 d1de92c0b53cdcd8af2185b2025929aa0833e6ec081106da77bae9943103759f
MD5 78b6318ded5fcbd16b67737c3b26ab5a
BLAKE2b-256 0e789ac68dbcc27d4f43e7556d68539e5aa9b59618156c110f37b205e5ca7b9b

See more details on using hashes here.

Provenance

File details

Details for the file robotframework_jupyterlibrary-0.3.0a0-py3-none-any.whl.

File metadata

  • Download URL: robotframework_jupyterlibrary-0.3.0a0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for robotframework_jupyterlibrary-0.3.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a63398bc0cfa75b0faeff779a5f4ed72b2c4917142999c94f885b3ca546bc0d
MD5 4912b2dd728217055abad177d8449ac9
BLAKE2b-256 dae2df68f653db42a5c546240421681c2fd5c36cac192cf518928e296df39e51

See more details on using hashes here.

Provenance

Supported by

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