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