magefree / magefree/mage

Tests: add more fuzzy testing (phased out permanents, out of range players, etc)

Open
#13,748 0 comments 0 reactions 1 assignee Claimed by @JayDi85 View on GitHub
dev enhancement tests
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Fuzzy testing can generate random/noisy data in all games to make sure it will be ignored by game and effects. Example: phased out permanents must not exists for the game (existing effects must not see it and phased out effects must not work).

Xmage already has tons of game tests, so all that noisy/useless data can be injected to it. If something wrong then strict tests will fail due wrong game stats, extra dialogs or choices, etc.

Possible use cases:
* [x] phased out permanents must be hidden
* [ ] out of range players and permanents must be hidden
* [ ] leave/disconnected players must be hidden

Additional tasks:
* [ ] modify travis's ci to run such tests by schedule as part of integration/stability tests (must be disabled for default pipeline on bad performance).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.