question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`uvu` is not browser compatible

See original GitHub issue

Not sure if this is intentional and there’s just a note missing in the README, but uvu/assert relies on kleur, which assumes process exists.

I’d love if I could just bundle my test suite and run it in the browser.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
lukeedcommented, Aug 8, 2021

Oh gotcha.

uvu will always just be the core test runner & “write the tests”-collection of utilities. It will remain agnostic to its environment, but always work as a Nodejs test runner by default.

umu will be the opinionated browser orchestration tool. Like uvu, it will have its own CLI but could also be used programmatically. It’s basically a wrapper around playwright (might make this flexible) and take care of the 90% use case of what people want from a frontend-testing setup. It will also have a programmatic interface so that you could pull it into existing tests or control tabs/page-reloads/etc if desired. The idea here is that you don’t like or want the done-for-you solution (umu), you can always build on top of uvu, since it should be flexible & light enough to do what you want to do.

TBH I’m not working on any frontend codebases right now, which means I’m not working on umu right now either, haha.

Until then, you could import puppeteer/playwright directly into your uvu tests & do what you need to do – including collecting coverage. There are examples of this in the repo already & there are a number of projects that are using this approach w/ uvu too.

So ya, uvu itself is nearly done, but its roadmap is:

  • parallel suite execution (done)
  • describe-style api (easy)
  • improved programmatic api/experience
  • remaining diff’ing TODOs
  • timeout control (maybe)
  • esm loader hook (future)
  • global hooks (maybe)
  • grep (maybe)
1reaction
gautelocommented, Feb 21, 2022

This is the first I heard about an umu package. I found it on the npm registry (https://www.npmjs.com/package/umu), but it’s link to github is dead. Was the project cancelled or did it just get moved somewhere else, getting a new name or something like that?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Respondus Lockdown Browser | Desktop Support
LockDown Browser is a locked browser for taking tests in Canvas. It prevents students from printing, copying, visiting another URL, or accessing other ......
Read more >
Web Standards, Guidelines and Policies - Utah Valley University
Web Guidelines and Recommendations. The public web at UVU is a centralized system governed by standards to maintain our brand, our image, and...
Read more >
Canvas Support for Students | Office of Teaching and Learning
Canvas Support Tips & Tricks. Google Chrome and Firefox are the recommended browsers. Check the syllabus to know the preferred way to contact...
Read more >
Web Standards, Guidelines and Policies - Utah Valley University
Standards and guides for UVU websites and systems.
Read more >
Remote Support | Desktop Support - Utah Valley University
Depending on availability, area technicians will respond as soon as possible. Telephone. Call the campus extension for your area technician. If they are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found