xhd2015 / xgo

All-in-one go testing library
MIT License
289 stars 16 forks source link

test-explorer: headless execution mode #218

Closed xhd2015 closed 1 week ago

xhd2015 commented 1 week ago

Current test explorer can execute tests in a web UI. It also reads test.config.json to do necessary preprocess before executing the tests.

When in github workflows, these test config should still be respected, but the UI is not necessary.

Hence proposing here adding a sub command: xgo e test, which will execute tests in current terminal. It's just an agent to go test but do some preprocessing.