Skip to content

lute test should support per-suite output #712

@wmccrthy

Description

@wmccrthy

Right now, lute test outputs a single casesPassed / casesRan metric accumulated from every test in your project.

It would be helpful to support per-suite output and accumulate only anonymous test cases in a bundled metric.

For example, instead of:

==================================================
TEST RESULTS
==================================================
--------------------------------------------------
Total:  5
Passed: 5 ✓
Failed: 0 ✗
==================================================

We could have something like:

==================================================
TEST RESULTS (SuiteName)
==================================================
--------------------------------------------------
Total:  1
Passed: 1 ✓
Failed: 0 ✗
==================================================

==================================================
TEST RESULTS (OtherSuite)
==================================================
--------------------------------------------------
Total:  1
Passed: 1 ✓
Failed: 0 ✗
==================================================

==================================================
TEST RESULTS (Anonymous Cases)
==================================================
--------------------------------------------------
Total:  1
Passed: 1 ✓
Failed: 0 ✗
==================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststdWork in the Luau standard library portion of the code

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions