I’m trying to keep a project at 100% coverage.
It seems that telling Cursor to get to 100% gets interpreted as a “Big Task” and spooks Cursor. The quality of the reasoning goes down, even when there are only a few files that need testing.
I have a tool that analyzes which files still need test coverage adding. And I have a skill to tell Cursor “add test coverage to this file”, which works reliably.
It is possible for me to enter multiple commands into a chat window, and have them executed one by one? e.g. for the commands below. I couldn’t figure out how to add them at once, so had to add them one-by-one, which doesn’t feel great.
/improve_test_coverage src/Bristolian/AppController/Admin.php
/improve_test_coverage src/Bristolian/CliController/BccTroFetcherCliController.php
/improve_test_coverage src/Bristolian/CliController/GenerateFiles.php
/improve_test_coverage src/Bristolian/Parameters/PropertyType/OptionalRoomContentListOrder.php
/improve_test_coverage src/Bristolian/Repo/RoomRepo/FakeRoomRepo.php
/improve_test_coverage src/Bristolian/Repo/UserRepo/PdoUserRepo.php
/improve_test_coverage src/Bristolian/Repo/WhatDoTheyKnowRequestEventRepo/PdoWhatDoTheyKnowRequestEventRepo.php
/improve_test_coverage src/Bristolian/Service/AvatarImageStorage/FakeAvatarImageStorage.php
/improve_test_coverage src/Bristolian/Service/WhatDoTheyKnowFeedFetcher/FakeWhatDoTheyKnowFeedFetcherReturningJson.php
/improve_test_coverage src/functions.php
/improve_test_coverage src/functions_whatdotheyknow.php
Edit - oh this is solved by sub-agents isn’t it. Not going to delete, this but am looking them up.