Skip to content

njit-prof-bill/cs684-instructor-lab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cs684-cumulative-lab

Repo for ongoing in-class labs

Getting Started

This lab uses python and pytest. It is recommended to setup a python virtual environment and install pytest into it. You can do this by running the setup.sh bash command like this:

bash setup.sh

Alternatively you can run individual commands like this:

python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install pytest
pytest -q

This assumes you are running linux, MacOS, or WSL. If you are running Windows, you can edit the bash script to uncomment the Powershell commands, then comment out the Linux commands. Note this has not been tested with Windows and Powershell.


You will find the requirement for the ledger in the file requirement.md.

You can run the ledger code with:

python ledger.py

You can run your tests with:

pytest -v

About

Repo for ongoing in-class labs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 96.5%
  • Shell 3.5%