Skip to content

ankyAgrawal/CS-5030_test_basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Basic unit tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published