FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

update test plan (#4500) · notpushkin/vscode-python@bc1b054 · GitHub

Commit bc1b054

Browse files
authored andcommitted
update test plan (microsoft#4500)
1 parent 83968c1 commit bc1b054

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

‎.github/test_plan.md‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@
3434
- [ ] Right-click
3535
- [ ] Command
3636
- [ ] `Shift+Enter`
37+
38+
#### Terminal
39+
Sample file:
40+
```python
41+
import requests
42+
request = requests.get("https://drive.google.com/uc?export=download&id=1_9On2-nsBQIw3JiY43sWbrF8EjrqrR4U")
43+
with open("survey2017.zip", "wb") as file:
44+
file.write(request.content)
45+
import zipfile
46+
with zipfile.ZipFile('survey2017.zip') as zip:
47+
zip.extractall('survey2017')
48+
import shutil, os
49+
shutil.move('survey2017/survey_results_public.csv','survey2017.csv')
50+
shutil.rmtree('survey2017')
51+
os.remove('survey2017.zip')
52+
```
53+
- [ ] *Shift+Enter* to send selected code in sample file to terminal works
3754

3855
#### Virtual environments
3956

@@ -104,6 +121,13 @@ SPAM='hello ${WHO}'
104121
**ALWAYS**:
105122
- Check under the `Problems` tab to see e.g. if a linter is raising errors
106123
124+
#### Language server
125+
126+
- [ ] Installing [`requests`](https://pypi.org/project/requests/) in virtual environment is detected
127+
- [ ] Import of `requests` without package installed is flagged as unresolved
128+
- [ ] Create a virtual environment
129+
- [ ] Install `requests` into the virtual environment
130+
107131
#### Pylint/default linting
108132
[Prompting to install Pylint is covered under `Environments` above]
109133
@@ -156,6 +180,7 @@ Please also test for general accuracy on the most "interesting" code you can fin
156180

157181
- [ ] `"python.autoComplete.extraPaths"` works
158182
- [ ] `"python.autocomplete.addBrackets": true` causes auto-completion of functions to append `()`
183+
- [ ] Auto-completions works
159184

160185
#### [Formatting](https://code.visualstudio.com/docs/python/editing#_formatting)
161186
Sample file:
@@ -214,6 +239,7 @@ def foo():pass
214239
- [ ] `Variables` section of debugger sidebar
215240
- [ ] [Remote debugging](https://code.visualstudio.com/docs/python/debugging#_remote-debugging) works
216241
- [ ] ... over SSH
242+
- [ ] ... on other branches
217243
- [ ] [App Engine](https://code.visualstudio.com/docs/python/debugging#_google-app-engine-debugging)
218244

219245
### [Unit testing](https://code.visualstudio.com/docs/python/unit-testing)
@@ -328,4 +354,10 @@ def test_failure():
328354
- [ ] Cancelling configuration does not leave incomplete settings
329355
- [ ] The first `"request": "test"` entry in launch.json is used for running unit tests
330356

357+
### [Data Science](https://code.visualstudio.com/docs/python/jupyter-support)
358+
- [ ] Set Python environment to Anaconda
359+
- [ ] Single cell execution works
360+
- [ ] `Run All Cells` in Jupyter code works
361+
- [ ] Typing code into Python interactive window works
362+
331363
</details>

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL