Skip to content

ssmythe/fizzbuzz-pytest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fizzbuzz-pytest

The CodingDojo FizzBuzz kata in Python3 using Pytest:

Reference

Requirements

  • Write a program that prints the numbers from 1 to 100.
  • Except for:
    • multiples of three print "Fizz" instead of the number
    • multiples of five print "Buzz".
    • numbers which are multiples of both three and five print "FizzBuzz".

Approach

Use VSCode Test Explorer to detect and easily run tests as they were developed

Python3 Module Requirements

  • pytest
  • pytest-cov
pip install -r requirements.txt

Run All Tests

./test.sh

About

FizzBuzz using pytest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors