Testing your code in val town #34
Replies: 2 comments 8 replies
-
Found one test "framework" that worked pretty well with vals. https://www.val.town/v/saolsen/tiny_jest_example ![]() I also think that some combo of an http-val, https://mochajs.org/ and https://www.npmjs.com/package/mochawesome could also work but I haven't tried it yet. |
Beta Was this translation helpful? Give feedback.
-
From @dvdsgl: "I'd love a little test file for each Val" An idea I had recently is to somehow shove the test(s) for a val into that val's readme: you could have a testing server that returns a badge image with the test results. Fairly complex, but could be abstracted away if we find a good pattern |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
From @tmcw:
@saolsen also asked for this recently. Lots of folks have asked for it historically.
Beta Was this translation helpful? Give feedback.
All reactions