{"id":"horsenuggets/testable","name":"testable","scope":"horsenuggets","platform":"roblox","description":"A Luau testing framework based off of TestEZ.","version":"1.1.4","latest":"1.1.4","versions":["0.0.0","0.0.3","0.0.4","0.0.5","0.1.0","0.1.1","0.1.2","1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":true,"dependencies":{},"integrity":"21171e3c46d19b5a99663d3eb22addad573c8d51e397c4d6b3381dce41219dc9","likes":0,"downloads":0,"install":"forest install horsenuggets/testable","url":"https://forest.dev/p/roblox/horsenuggets/testable","files":"https://api.forest.dev/ai/package/roblox/horsenuggets/testable/files","readme":"# testable\n\nA Luau testing framework based off of TestEZ. Testable extends TestEZ with parallel test execution and support for [Lune](https://lune-org.github.io/docs), allowing you to run tests outside of the Roblox environment.\n\n## Usage\n\n```luau\nlocal Testable = require(\"@devpackages/testable\")\n\nlocal testRoot = path.to.Tests\nlocal results, passed = Testable.run({ testRoot })\n\nif passed then\n    print(\"All tests passed!\")\nelse\n    print(\"Some tests failed.\")\nend\n```\n\nSee the [TestEZ documentation](https://roblox.github.io/testez/api-reference/) for details on writing tests.\n\n## Configuration\n\nConfigure Testable using `Testable.configure()`:\n\n```luau\nlocal Testable = require(\"@devpackages/testable\")\n\nTestable.configure({\n    AlphabeticalSort = false,  -- Sort test results alphabetically\n    Indent = \"   \",            -- Indentation string for test output\n    MaxConcurrency = 4,        -- Maximum parallel tests\n    Parallel = true,           -- Enable parallel test execution\n    PrintSkipped = false,      -- Show skipped tests in output\n    Verbose = false,           -- Enable verbose logging\n})\n```\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `AlphabeticalSort` | `boolean` | `false` | Sort test results alphabetically instead of definition order |\n| `Indent` | `string` | `\"   \"` | Indentation string used for nested test output |\n| `MaxConcurrency` | `number` | `4` | Maximum number of tests to run in parallel |\n| `Parallel` | `boolean` | `true` | Enable or disable parallel test execution |\n| `PrintSkipped` | `boolean` | `false` | Include skipped tests in the output |\n| `Verbose` | `boolean` | `false` | Enable detailed logging during test execution |\n\nReset configuration to defaults with `Testable.resetConfig()`.\n","readmeTruncated":false}