Are there many JavaScript developers on here? I’ve built a super basic testing library, because pretty much every library out there does a bunch of magic like auto running the suite, auto loading files, hooks (beforeEach/beforeAll/etc) and all the nesting (describe/it).

I don’t think it’s needed and have pretty much exclusively been doing “no mocking”, “no hooks”, and it’s worked well for me.

https://github.com/markwylde/just-tap

⤋ Read More

@markwylde@twtxt.net Seems like a really good lightweight alternative to usual unit test libraries.

I was thinking on having some tests run on a couple of apps I made in JS and it would be a good place to try your tool.

Only two things:

  • I haven’t noticed the GitHub Pages had a live editor until I saw the code in the repo, you should add a description or an heading to let others know they can play in it.

  • I’m confused about the waitFor, what would be a realistic use case for it?

⤋ Read More

Participate

Login to join in on this yarn.