Skip to content

lute test library: Adding arbitrarily nested 'suites' #697

@Alexander-L-Robert

Description

@Alexander-L-Robert

Current:
lute's std/test only supports a suite -> case heirarchy.

Desire:
I'm used to being able to have nested subcategories with testez by nesting multiple describes within each other.

Example:
Nest structure I want:

(each nested bullet point would be a subcategory, where any subcategory can have unit tests (for tests that don't fit into any subcategory) or more subcategories:

  • formatFoundationTags Lint suite
    • strict matching (default)
      • plain strings
      • concatenation
      • conditional string assignments
      • string interpolation cases
    • loose matching
    • config rules

What I currently have

  • strict matching (default) suite
    • plain strings unit tests
    • concatenation unit tests
    • conditional string assignments unit tests
    • string interpolation cases unit tests
  • loose matching suite
  • config rules suite

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomersstdWork in the Luau standard library portion of the code

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions