Skip to content

Commit

Permalink
improved testing
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLeoni committed Nov 13, 2019
1 parent 3c09a74 commit 76aad32
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1999,7 +1999,7 @@
"\n",
"You can run and debug tests in Visual Studio Code, which is very handy. First, you need to set it up.\n",
"\n",
"1. Hit `Control-Shift-P` and type `Python: Configure Tests` \n",
"1. Hit `Control-Shift-P` (on Mac: `Command-Shift-P`) and type `Python: Configure Tests` \n",
"\n",
"![](img/vscode-1.png)\n",
"\n",
Expand Down Expand Up @@ -2035,18 +2035,18 @@
"source": [
"<div class=\"alert alert-warning\">\n",
"\n",
"**Troubleshooting:**\n",
"**TROUBLESHOOTING**\n",
"\n",
"</div>\n",
"\n",
"If you encounter problems running tests and have Anaconda, sometimes an easy solution can be just closing Visual Studio Code and running it from the Anaconda Navigator. You can also try to update it.\n",
"\n",
"\n",
"Running test by console does not work: \n",
"**Running tests by console does not work:**\n",
"\n",
"* remember to SAVE the files before executing tests: in Windows, a file appears as not saved when its filename in the tab is written in italics; on Linux, you might see a dot to the right of the filename\n",
"\n",
"`Run Test` label does not show up in code: \n",
"**Run Test label does not show up in code:**\n",
"\n",
"- if you see red squiggles in the code, most probably syntax is not correct and thus no test will get discovered ! If this is the case, fix the syntax error, SAVE, and then tell Visual Studio to discover test. \n",
"- you might also try _Right click->Run current Test File_. \n",
Expand Down

0 comments on commit 76aad32

Please sign in to comment.