Skip to content

The application demonstrating how mutation testing works, presented at Pykonik Tech Talks #61.

License

Notifications You must be signed in to change notification settings

lchojnacki/mutation-testing-pykonik

Repository files navigation

Mutation testing (FizzBuzz)

The application demonstrating how mutation testing works, presented at Pykonik Tech Talks #61.

Mutation tests are presented here using a simple game example: FizzBuzz.

Slides from the presentation can be found here.

Prerequisites

  • Python 3.9

Setup

  • Create a new, clean virtual environment with Python 3.9

  • Install requirements:

    pip install -r requirements.txt
    

Usage

  • Run the FizzBuzz script:

    python fizzbuzz.py 1 15
    
  • Run tests without mutations:

    pytest
    
  • Run tests with mutations:

    mutmut run
    mutmut results
    mutmut show <id>
    

About

The application demonstrating how mutation testing works, presented at Pykonik Tech Talks #61.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages