/itp-w1-strings-control-flow-practice

Control Flow and Strings Practice

Primary LanguagePythonCreative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0

Strings and Control Flow practice

This project consists of small assignment functions to work in groups and practice control flow and strings methods. It'll also be useful to introduce you to our Github workflow.

How to run tests

Run tests for just one assignment

$ py.test -v --tb=short group_project/assignment_1.py

image

Run tests matching a given name

$ py.test -v --tb=short group_project/assignment_1.py -k odd

image

Run all the tests

$ py.test -v --tb=short group_project

# OR

$ make test

Testing Python versions with TOX

$ tox -epy27

image