Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test case automation for regression #39

Open
Nevakanezah opened this issue Feb 20, 2020 · 1 comment
Open

Test case automation for regression #39

Nevakanezah opened this issue Feb 20, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request test Ensure things are working as intended

Comments

@Nevakanezah
Copy link
Owner

Nevakanezah commented Feb 20, 2020

The plugin has several core use cases that are arduous to test properly, and verifying regression only becomes more difficult as development advances. Automating unit & integration tests is not only valuable, it's all but necessary to test many of these cases in a respectable way.
A prospective list of test cases to automate includes:

  • Foal attributes use new breeding formula, and fall within expected ranges (from Confirm child attributes are generated within configured range #5)
  • CRUD cases for entries in HorseList (spawn, death, onUnload, etc)
  • Setting parent names
  • Horses.dat read/write integrity
  • Inbreeding handling
  • Secret horse handling
  • Gender ratio
  • Command output
  • Input validation, in config file and otherwise
  • Impact of config options

Create automated tests to validate the behaviour of key use cases like these.

@Nevakanezah Nevakanezah added enhancement New feature or request test Ensure things are working as intended labels Feb 20, 2020
@Nevakanezah Nevakanezah self-assigned this Feb 20, 2020
@Nevakanezah
Copy link
Owner Author

An OSS utility exists for bukkit test automation that may make this process much easier - https://github.com/seeseemelk/MockBukkit, a Bukkit mocking framework that could measurably cut down on how much mock object invocation I'll require.

@Nevakanezah Nevakanezah modified the milestone: Test Automation Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request test Ensure things are working as intended
Projects
None yet
Development

No branches or pull requests

1 participant