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