askql
askql copied to clipboard
Should we use AskScript for test args .args.ts and expected result .result.ts
Following discussion in #293, how about we use AskScript to define individual test arguments and results?
What would be the gain of rewriting all TypeScript to AskScript for args and results?
It would be an easy and fast way to triple the number of ASK files tested in unit testing
Wait, args and results are the input and output, not the test.
Also, bear in mind that quantity != quality. These files would be mostly homogeneous, just storing one or two ints or strings, so we couldn't say we have 3 times as many [good] tests.
I am also thinking whether they are cases where it's much easier to define the expected output in TypeScript rather than AskScript.