Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
1 result

software-maintenance-example

  • Clone with SSH
  • Clone with HTTPS
  • Name Last commit Last update
    test
    tic_tac_toe
    .gitignore
    README.md
    setup.py

    Software Maintenance Example

    This Python package implements a command-line program that plays tic-tac-toe, but contains a bug that causes the computer to draw a line that it should win. It is used in SOFT 162 to introduce the software engineering terminology for activities, artifacts, tools, quality dimensions, and metrics in context and with concrete examples.

    Testing

    The unit test suite can be run by entering the command

    python3 -m unittest

    from the repository's root directory.

    Running

    The program can be run uninstalled by entering the command

    python3 -m tic_tac_toe.tic_tac_toe

    from the repository's root directory.

    Packaging

    The program can be packaged for installation with pip by entering the command

    python3 ./setup.py sdist

    from the repository's root directory.