-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Notebook Smoke Test
Peng Lyu edited this page Mar 13, 2020
·
7 revisions
- Checkout branch
rebornix/notebook
yarn && yarn run watch
- Clone the notebook extensions repository
git clone https://github.com/microsoft/notebook-extension-samples
yarn && yarn run install && yarn run build
- Run OSS with specifying
notebook-extension-samples
as the extension directoryvscode/scripts/code.sh --extensions-dir notebook-extension-samples
- Clone the notebook test repository
git clone https://github.com/microsoft/vscode-notebook-testdata
- Open the folder in OSS
One major goal of native notebook experience in VS Code is performance: file opening, scrolling and editing should be as performant as a normal text editor. Please test the code change doesn't regress the performance
- Open
samples/runCode.ipynb
, make sure markdown cell and code cells are rendered properly.- Scrolling in the editor is smooth, no significant noticeable lag.
- Open
samples/runCode50.ipynb
. This file contains 600 code cells and 1300 markdown cells, but opening this file should be fast too.- Test scrolling with scrollbar, try to scroll to the middle or the bottom of the document.
- Please check all outputs are rendered properly
Outputs are rendered under code cells. When an output is secure and simple, like text, png, we will render them in the core. If it's insecure, like html/javascript, we will render them in a webview.
- Open
samples/mimetypes.ipynb
- Make sure all outputs are rendered as expected
- Open
samples/runCode_iframe_form_15.ipynb
, test iframes and forms are rendered properly and they are interactive- Scroll the document to the bottom, scroll back and check if the iframe is still running
Open runCode.ipynb
- Hover on a cell, and click the gear icon on the left, test commands in the context menu works as expected
- Inserting a cell should focus the newly added cell (focus should be inside the nested monaco editor)
- After modifying the cells, the file should be a dirty state
- Cmd+S to save the document, the document should be persisted on disk and please check if the changes are correct.
- Open
test/ipywidgets.test.ipynb
, focus in the editor, clickExecute Notebook
actions on the editor toolbar- Check if the outputs are rendered properly
Project Management
- Roadmap
- Iteration Plans
- Development Process
- Issue Tracking
- Build Champion
- Release Process
- Running the Endgame
- Related Projects
Contributing
- How to Contribute
- Submitting Bugs and Suggestions
- Feedback Channels
- Source Code Organization
- Coding Guidelines
- Testing
- Dealing with Test Flakiness
- Contributor License Agreement
- Extension API Guidelines
- Accessibility Guidelines
Documentation