Skip to content

Reconsider static definitions in tests #1002

Description

@GregHib

Setting a clearing definition objects for tests has been working fine up until f08006538f91fe57e9f813dd2361aea9c5b3911a where a bot test would run in-between WorldTest's causing VariableDefinitions to be wiped or overriden, which in turn would cause Wildcards.load to fail and that produced a gradle error with no message found (unless adding --info).

Potential options:

  1. Remove Static definitions entirely - Problematic, complete reverse of Make all definitions static #839
  2. Have a way to temp store existing values and revert after test completion
    3 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions