Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 740 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 740 Bytes

CS-5030_test_basics

unit tests in Python

We will use Pytest for running unit tests in Python

Follow the installation guide and docs here https://docs.pytest.org/en/7.1.x/getting-started.html

Step 1: cd path/to/the/root/of/this/repo

Step 2: pytest

Verify in the command line if pytest runs all your unit tests or not

Testing Javascript

We will use jest framework to run all our javascrpt test cases. Please make sure you have node and npm working on your system;

Installation guide for Windows is here : https://blog.teamtreehouse.com/installing-node-js-and-npm-on-windows Follow the installation guide before moving to the next step

Step 1: cd path/to/test_javascript_directory Step 2: npm run test