Test examples

This page contains examples of project @tests for python and for R.

@tests in python

There are some packages you need to be able to run tests locally. Run the following commands in a terminal to install them:

You might need to change pip into pip3 depending on how you installed python.

pip install nose
pip install git+https://github.com/datacamp/ipython_nose

The test examples are a work in progress. In the meantime, you can check out the @tests cells in this example project.ipynb from the Project Dr. Semmelweis and the discovery of handwashing. Here is the python GitHub repo (and live project).

@tests in R

There are some packages you need to be able to run tests locally. Run the following commands in R to install them:

install.packages("devtools")
install.packages(testthat")
devtools::install_github('datacamp/IRkernel.testthat')

The test examples are a work in progress. In the meantime, you can check out the @tests cells in this example project.ipynb from the Project Dr. Semmelweis and the discovery of handwashing. Here is the R GitHub repo (and live project).

results matching ""

    No results matching ""