CI Checklist.pdf - CS 362 Software Engineering II In-class...

This preview shows page 1 - 3 out of 3 pages.

CS 362 - Software Engineering II In-class activity: Continuous Integration Checklist 1. Create an empty repository, add a Gitignore (Python template), and a README.md. 2. Clone this repository to your local system. 3. Setup virtual environment, create one and activate it: python3 -m venv calculator . calculator/bin/activate 4. Add the following methods to your calculator file - addition and subtraction. ---- Make a commit 5. Install flake8, pytest, and pytest-cov. pip install flake8 pytest pytest-cov 6. Store dependencies in requirements.txt pip freeze > requirements.txt 7. Execute Linter flake8 --statistics
Fix linting errors until you get none. 8. Write tests for the add and subtract methods in your test files. Do them

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture