自动化(测试)jupyter终端用户应用程序和扩展的robot框架库
robotframework-jupyterlibrar的Python项目详细描述
robotframework jupyterlibrary
A Robot Framework library for automating (testing of) Jupyter end-user applications and extensions
pip | conda | docs | demo | pipes |
---|---|---|---|---|
TODO |
使用
编写使用JupyterLibrary
关键字的.robot
文件。
*** Settings ***LibraryJupyterLibrarySuite SetupWait for New Jupyter Server to be ReadyTest TeardownReset JupyterLab and CloseSuite TeardownTerminate All Jupyter Servers*** Test Cases ***A Notebook in JupyterLabOpen JupyterLabLaunch a new JupyterLab DocumentAdd and Run JupyterLab Code CellWait Until JupyterLab Kernel Is IdleCapture Page Screenshot
有关示例,请参见acceptance tests。
安装
pip install robotframework-jupyterlibrary
TODO: release on conda-forge
开发安装
获取Firefox
- Chrome也能工作,但更变化无常
获取Miniconda3(如python 3.6+)
克隆此回购…
git clone https://github.com/bollwyvl/robotframework-jupyterlibrary cd robotframework-jupyterlibrary
更新并激活…
conda env update conda activate robotframework-jupyterlibrary
然后…
pip install -e . --no-deps --ignore-installed
运行测试…
python -m scripts.atest
免费软件
jupyterlibrary是bsd-3条款许可下的免费软件。它包含代码 其他一些项目:
- SeleniumLibrary(APL-2.0)
Press Keys
的后台端口
- Jyve(BSD-3-Clause)
- 机器人关键字的初始实现