Added section to install nose. Updated markdown discussions for clarity and consistency.

This commit is contained in:
Donne Martin 2015-01-27 10:26:28 -05:00
parent 3574594172
commit cd6afd474c

View File

@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:3e449ecf28851b7e70f1d46660422e181e340b575d714dfc1f8d29fedafb0584"
"signature": "sha256:bbaa3dbaf3f3dd5f608d2ece862d90a61e36ed7e862ce826e0be0132635fbec2"
},
"nbformat": 3,
"nbformat_minor": 0,
@ -19,23 +19,37 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Install Nose"
"## Nose\n",
"\n",
"Testing is a vital part of software development. Nose extends unittest to make testing easier."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```bash\n",
"pip install nose\n",
"```"
"## Install Nose\n",
"\n",
"Run the following command line:"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"!pip install nose"
],
"language": "python",
"metadata": {},
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Create the Code"
"## Create the Code\n",
"\n",
"Save your code to a file with the %%file magic:"
]
},
{
@ -85,7 +99,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Create the Nose Tests"
"## Create the Nose Tests\n",
"\n",
"Save your test to a file with the %%file magic:"
]
},
{
@ -124,7 +140,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Run the Nose Tests"
"## Run the Nose Tests\n",
"\n",
"Run the following command line:"
]
},
{