To run a main or test function, click the Run icon (The Run icon) in the gutter and select the necessary action (Run, Debug, Coverage).

Run from the gutter