What
AgentTests/ has 16+ test files (e.g. ScriptServiceTests.swift, DiffToolsTests.swift, ShellSafetyServiceTests.swift), but many services in Agent/Services/ still have no coverage. Pick one and add a test file.
Recipe
- Clone and build:
./build.sh (see CONTRIBUTING.md — Xcode Command Line Tools only)
- Browse
Agent/Services/ and pick a service with no matching file in AgentTests/
- Copy the structure/style of an existing test (e.g.
ScriptServiceTests.swift)
- Add your new file to the
AgentTests target in Agent.xcodeproj
- Run the test suite in Xcode and make sure everything passes
Definition of done
- One new
*Tests.swift file in AgentTests/ covering a previously untested service, all tests green
Great first contribution if you want to learn the codebase — tests are the best map.
What
AgentTests/has 16+ test files (e.g.ScriptServiceTests.swift,DiffToolsTests.swift,ShellSafetyServiceTests.swift), but many services inAgent/Services/still have no coverage. Pick one and add a test file.Recipe
./build.sh(see CONTRIBUTING.md — Xcode Command Line Tools only)Agent/Services/and pick a service with no matching file inAgentTests/ScriptServiceTests.swift)AgentTeststarget inAgent.xcodeprojDefinition of done
*Tests.swiftfile inAgentTests/covering a previously untested service, all tests greenGreat first contribution if you want to learn the codebase — tests are the best map.