From cd6afd474c8c3c24ea15d5d47165aafb988f0a9e Mon Sep 17 00:00:00 2001 From: Donne Martin Date: Tue, 27 Jan 2015 10:26:28 -0500 Subject: [PATCH] Added section to install nose. Updated markdown discussions for clarity and consistency. --- core/unit_tests.ipynb | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/core/unit_tests.ipynb b/core/unit_tests.ipynb index fe24bc2..838f7e9 100644 --- a/core/unit_tests.ipynb +++ b/core/unit_tests.ipynb @@ -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:" ] }, {