Skip to content

Suggestion: Add in a regression test of some sort #15

@cbbrowne

Description

@cbbrowne

It would be a good idea to add in a regression test that:

  • Sets up the database from scratch
  • Adds a few players
  • Makes them do some things
  • Returns some sort of "true" value

Several salutory effects:
a) Means that it doesn't take much work to see if "that dumb patch someone contributed" breaks stuff
b) If done carefully enough, allows using "git bisect" to figure exactly which, of 45 "dumb patches someone contributed" was to blame
c) Increases confidence in proposed changes. "Yes, the system survives that surgery!"
d) Provides examples of how to do stuff to would-be players.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions