Code Actions
Exclude Methods
Exclude Method
puts the selected method in excludedMethods
marking it to not be tested.
Exclude Other Methods
excludes all other methods in the class marking only your selected function to be tested.
Tapping on a function you'll see a 💡 bulb. You can also use CMD + .
A bulb menu with both exclude methods should appear.
Tap on the exclude method option of your choice.
Fetch Unit Testcases
Fetches a list of smart and exhaustive testcases for your method which you can review and modify.
Tapping on a function you'll see a 💡 bulb. You can also use CMD + .
A bulb menu with both exclude methods should appear.
Tap on the Fetch Unit Testcases option.