skip to content
Alvin Lucillo

Go subtest and a productivity tip

/ 1 min read

💻 Tech

In Go, you can specify the subtest to run in the go test command. This is useful when you want to run a specific test in a test file.

go test -run TestName
go test -run ^SomeTest$

💪 Productivity

Someone asked me, “How can I get things done?” I told them the following:

  1. Visualize what will happen and what will you feel after you complete the task.
  2. Visualize what will happen and what will you feel if you didn’t complete the task.
  3. Who will benefit from this task? What will they feel?