Project: Pythonic Garage Band
Author: Benjamin Carter
Links and Resources
Setup
.env requirements : N/A
Roger Wells, Matt Rangle
How to initialize/run your application (where applicable)
e.g. pythonic_garage_band.py
How to use your library (where applicable) N/A
Tests test_pythonic_garage_band.py
How do you run tests? pytest in terminal
Any tests of note? test were provided
Describe any tests that you did not complete, skipped, etc
Feature Tasks and Requirements Use Python classes to model a Band made up of different kinds of musicians.
Start with Guitarist,Bassist, and Drummer.
Make use of a Musician base class to handle common functionality which particular kinds of musicians will inherit.
User Acceptance Tests Unit tests will be supplied for this lab. Your job is to make them pass. Do NOT modify the supplied tests (except to enable for stretch goals.)
Band Tests A Band instance should have a name attribute which is a string. A Band instance should have a members attribute which is a list of instances that inherit from Musician base (or super) class. A Band instance should have a play_solos method that asks each member musician to play a solo, in the order they were added to band. A Band instance should have appropriate str and repr methods. A Band should have a class method to_list which returns a list of previously created Band instances Musician Subclass Tests Each kind of Musician instance should have appropriate str and repr methods. Each kind of Musician instance should have a get_instrument method that returns string. Each kind of Musician instance should have a play_solo method that returns string.