Open meirdev opened 8 months ago
A workaround (use std.Test
):
let tests: Map<inflight (): str> = {
"foo": inflight () => { return "..."; },
"bar": inflight () => { return "..."; },
};
let runTest = (key: str) => {
new std.Test(inflight () => {
log("do something...");
}) as "{key}";
};
for test_ in Json.keys(tests) {
runTest(test_);
}
would be nice to allow interpolations for test "" {}
declarations though
@MarkMcCulloh Thanks! 🙏
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
I tried this:
This happened:
I expected this:
No response
Is there a workaround?
No response
Anything else?
With one test:
The code is compiled but cannot run:
My use case is to run the same tests across many classes with the same interface.
Wing Version
0.59.46
Node.js Version
v20.11.0
Platform(s)
MacOS
Community Notes