Reference
sUNC
sUNC is the community test suite for executor APIs. It runs a set of tests inside the executor: does hookfunction really replace a function everywhere, does getconnections return working connection objects, does cloneref return a distinct reference to the same instance. It reports how many pass. A test checks behaviour, not just that a name exists.
#What it covers
The tests are grouped the same way the executor API is:
| Area | Examples it checks |
|---|---|
| Closures | hookfunction, newcclosure, iscclosure, clonefunction, checkcaller |
| Metatables | getrawmetatable, hookmetamethod, getnamecallmethod, setreadonly |
| Debug | getconstants, getupvalues, getprotos, getstack, getinfo |
| Environment | getgenv, getrenv, getsenv, getgc, filtergc |
| Instances | getinstances, getnilinstances, cloneref, gethiddenproperty, fireclickdetector |
| Signals | getconnections, firesignal, replicatesignal |
| Scripts | getscriptbytecode, getscripthash, decompile, getrunningscripts |
| Files | writefile, readfile, listfiles, getcustomasset |
| Crypt | crypt.encrypt, crypt.hash, base64, lz4 |
| Drawing | Drawing.new, render properties, cleardrawcache |
| WebSocket | WebSocket.connect and its events |
#How Rove gets there
Rove's executor functions are real implementations, not stubs that return plausible values:
- Closure functions work inside the Luau VM. They're written in C++ next to it:
hookfunctionre-routes or rewrites the target in place, so every existing reference sees the hook. - The VM is the official one. It's the same Luau as Roblox's (bytecode versions 13–14), so introspection like
getconstantsandgetprotossees real bytecode. - Instance functions reach every instance. They read Rove's world store directly, including instances no script has touched yet.
- Signals are real objects.
getconnectionsreturns connections you can disable, fire and disconnect, including ones held by Actor VMs.
A score is a snapshot of one run on one version, and a test can fail for an edge case while the function works for everyday use. The live report linked above lists each test.
#Running it yourself
Load the sUNC script in any Rove client from Execute. It prints its progress and a report link at the end. It needs loadstring and HttpGet, which Rove provides.