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

{% tabs %}
{% tab title="VSCode" %}

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.

<figure><img src="https://content.gitbook.com/content/tAnLSsYAHhs9z40FBfs5/blobs/C501nka9NdgOnI4ngiys/Exclude%20Methods.gif" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="IntelliJ" %}

{% endtab %}
{% endtabs %}

### Fetch Unit Testcases

Fetches a list of smart and exhaustive testcases for your method which you can review and modify.&#x20;

{% tabs %}
{% tab title="VSCode" %}

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.

<figure><img src="https://content.gitbook.com/content/tAnLSsYAHhs9z40FBfs5/blobs/3d0Ss21BiGqcECp7Wv2z/Generate%20Unit%20Tests.gif" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="IntelliJ" %}

{% endtab %}
{% endtabs %}
