Skip to content

Compatibility Settings opt-in/out Unit Tests #301

@tinkerer-red

Description

@tinkerer-red

Description

Due to a recent bug report should add real("42apples") to this my compile time vs runtime unit test suit.
Currently it fails to compile, but how it would compile would differ depending on the compatibility checkbox. How this is intended to be tested for is unclear may be in need of some kind of link to the cli or a native GM "get compatibility info" functionality. That way we could run or compare tests, or even outright ignore some depending on the compatibility settings.

Steps To The Task

  • Some entry point for compatibility settings, that way at runtime the test suite could branch to the correct unit test relative to the compatibility setting, or outright ignore testing it.

Outcome

The simple solution would simply be some gml function to fetch a struct of all compatibility settings. This seems like something which would exist already, but if it does im unaware of it.

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