{"wiki":{"id":113,"slug":"tests","entity_type":"app","entity_id":"tests","title":"Test Runner","prose_md":"## About\n\nThe **Test Runner** ([[tests]]) is Carol’s quality‑control workbench. Whenever [[agt_003|Argus]] — Carol’s dedicated tester agent — or any engineer on the team finishes changing a piece of the system, they send the Test Runner a signal. The app instantly discovers every regression test suite that lives in the codebase, runs them all in order, and reports a clear **pass** or **fail** for each one. Think of it as a tireless, automated proofreader that catches mistakes before they reach anyone else.\n\nWhy does this exist? Because Carol’s ecosystem grows every day — new apps, new agents, new workflows. Without the Test Runner, a small bug in one corner could silently break something in another. By running the full battery of tests on demand, the app gives the whole team confidence that yesterday’s fixes didn’t break today’s features. It's the safety net that lets [[agt_011|Elrond]], [[agt_012|Forge]], and the rest of the engineering crew move fast without breaking things.\n\n## Usage Patterns\n\nThe Test Runner fires in two main scenarios. First, **after a code change**—say [[agt_012|Forge]] updates the [[carol-chat]] app. Forge or [[agt_003|Argus]] will trigger the Test Runner, which scans the `tests/` directory, launches every regression suite, and posts the results to a shared dashboard. If a test fails, the team knows instantly where the problem lives.\n\nSecond, it runs **on a scheduled cadence** to catch slow‑moving issues (like a database that’s gradually getting slower). For example, every night at 2:00 AM, the Test Runner wakes up, loads the latest version of all test suites from the [[semantic-memory]] index, and runs a full regression pass. By morning, [[agt_011|Elrond]] and the engineers have a clean report ready to review — or a red flag telling them something needs attention before anyone else logs in.","namesake_json":"{}","profile_pic_path":"","source_hash":"1c30ac6d9f89328347a52f93edefb1ceaea6760a35ff3eca65f041b4ba73a1a0","status":"active","last_generated_at":"2026-07-01 03:26:26","created_at":"2026-07-01 03:26:26","updated_at":"2026-07-01 03:26:26"},"facts":{"id":"tests","name":"Test Runner","port":7170,"url":"/dev/tests/","description":"Discovers and runs all regression test suites, reports pass/fail results","owner":"agt_003","dir_name":"tests","card_group":"Engineering","is_public":0,"access_level":"auth","log_name":"tests","gen_nginx":1,"user_admins":"[]"}}