public icon indicating copy to clipboard operation
public copied to clipboard

Support ...

Open ThePenguin1140 opened this issue 4 years ago • 3 comments

Issue description or question

I really like wallaby and it's crazy how much of a difference it can make in my development process.

Unfortunately I can't always just use Node.js based languages.

It would be nice if I was able to write a custom testFramework function that runs test files and returns a standard output (like JUnit). That, in combination with custom compilers, would allow me to run almost anything as long as I return the right information.

I've been trying to see if I can make it work with golang somehow. Currently I'm using gopherjs to compile go into JS and creating custom coverage trees via go/parser and go/ast

ThePenguin1140 avatar Sep 16 '20 13:09 ThePenguin1140

Currently I'm using gopherjs to compile go into JS and creating custom coverage trees via go/parser and go/ast

Are you then running your code using node as the runtime?

smcenlly avatar Sep 16 '20 23:09 smcenlly

Not currently no. Which I guess makes the gopherjs point irrelevant.

If a custom test runner were to be used would a node runtime still be needed?

ThePenguin1140 avatar Sep 17 '20 10:09 ThePenguin1140

At this point in time, all test runners need to a JavaScript runtime (not necessarily node, can be browser)

smcenlly avatar Sep 17 '20 21:09 smcenlly