Skip to content

CodePath-Tech-Exchange-CTEx/ise-5.1.1-integration-testing-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[ISE] 5.1.1 Integration Testing

In-Class Activity

One-Time Setup

  1. Clone this repo into your cloud shell editor with git clone <this repo>
  2. Create local virtual environment python3 -m venv venv

Before starting work

  1. Activate venv source venv/bin/activate
  2. Install dependencies pip install -r requirements.txt

Running the app

  1. streamlit run app.py
  2. Click on the "Local URL"

Running the tests

  1. pytest tests/tests.py

Writing the tests

You're assignment is to write the tests marked TODO in the tests/tests.py file.

Make sure you test the additional functionality on the decrement button (the count is not allowed to go below 0).

If you finish this work and there's still time, add a 100x mode checkbox and write tests for that. How the 100x and 10x buttons interact/overlap is left up to you.

Turning in your assignment

First, add your files with git add, and push them with git push.

Then, your instructor will give you instructions for turning in your repo.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages