Skip to content

Unordered collections #9

@ligurio

Description

@ligurio

Unordered collections: Tests can be flaky when they make assumptions about the order of elements in an unordered collection. If your test is working with a set or a JSON object, don’t make any assumptions about the order, simply check for existence of elements in the collection.

Source: https://mir.cs.illinois.edu/lamyaa/publications/fse14.pdf
See LuaJIT/LuaJIT#719

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions