vide/test
Andrea Fletcher 18c1d02d43
Add tag() action for CollectionService tags
Adds a built-in `vide.tag()` action that wraps `Instance:AddTag()` /
`Instance:RemoveTag()` so tags can be applied through `create()` props.

It accepts a static string or array of strings, or a reactive source
returning either. The reactive variant diffs the previous and new tag
sets so only the delta is applied. All tags added by the action are
removed when the surrounding scope is destroyed.

Includes mock support for `AddTag`/`RemoveTag`/`HasTag`/`GetTags`,
tests, API reference docs, and a closing note in the actions tutorial.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 22:10:47 -07:00
..
benchmarks.luau Implement delays for indexes() and values() 2025-08-31 20:37:46 +01:00
create-types.luau Deprecate create() overloads 2026-04-29 21:33:29 +01:00
mock.luau Add tag() action for CollectionService tags 2026-05-26 22:10:47 -07:00
spring-test.luau Fix spring impulse control 2025-12-04 14:22:16 +00:00
stacktrace-test.luau Try improve error reporting 2024-12-27 22:43:01 +00:00
testkit.luau Update testkit 2023-09-24 01:49:16 +01:00
tests.luau Add tag() action for CollectionService tags 2026-05-26 22:10:47 -07:00