Ask coding questions

← Back to all posts
"go test", possible in repl.it?
breewe (0)

Hi
I'm using repl.it to play around with GO. Now I want to work more with testing and wonder if it is possible to do the equivalent of "go test" with repl.it?

Answered by ash15khng (721) [earned 5 cycles]
View Answer
Comments
hotnewtop
ash15khng (721)

I don't think it's possible to run terminal commands in repl.it sadly, but you could try suggesting it at the feedback page.

LuisPaGarcia (0)
  1. Use the Shell tab and use cd to reach the directory where your file and your test exist.
  2. Run go test
  3. tadá-