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.

  1. Tapping on a function you'll see a 💡 bulb. You can also use CMD + .

  2. A bulb menu with both exclude methods should appear.

  3. 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.

  1. Tapping on a function you'll see a 💡 bulb. You can also use CMD + .

  2. A bulb menu with both exclude methods should appear.

  3. Tap on the Fetch Unit Testcases option.