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.

Fix unit tests in Windows

See original GitHub issue

Currently our unit tests are broken in Windows. It would be great if someone with a Windows machine could take a look at them. The list of errors can be found here:

https://github.com/webdriverio/webdriverio/pull/5947/checks?check_run_id=1220246069

Also in case #5947 got merged until then I would be great if the unit tests could be enabled again in .github/workflows/test.yml

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
logesrcommented, Oct 8, 2020

@christian-bromann @mgrybyk I am facing an issue while setting up my windows machine. The below error is thrown at times resulting in failure of builds.

──────────────────────────────────────────────┐ β”‚ npm update check failed β”‚ β”‚ Try running with sudo or get access β”‚ β”‚ to the local update config store via β”‚ β”‚ sudo chown -R $USER:$(id -gn $USER) C:\Users\Logeswaran.config

I have tried reinstalling the node & npm. No luck. Any thoughts on this?

0reactions
mgrybykcommented, Oct 8, 2020

Nope, it works for me out out the box. I just installed NodeJS 12 on my Windows 10 Pro (latest) and that’s it

Read more comments on GitHub >

github_iconTop Results From Across the Web

C# unit test tutorial - Visual Studio (Windows) - Microsoft Learn
Learn how to create, run, and customize a series of unit tests using ... Fix your code and rerun your tests; Use unit...
Read more >
Unit testing fundamentals - Visual Studio (Windows)
Generate unit test project and unit test stubs Β· From the code editor window, right-click and choose Create Unit Tests from the right-click...
Read more >
Tests are canceled when you run unit tests in parallel by using ...
File name File version File size Date Time Pla... Leviewer.exe 10.0.40219.355 117,584 22‑Oct‑2011 12:51 x86 Microsoft.teamfoundation.build.client.dll 10.0.40219.355 435,080 20‑Oct‑2011 20:37 x86 Microsoft.teamfoundation.client.dll 10.0.40219.355 1,592,704 20‑Oct‑2011 20:37...
Read more >
Get started with unit testing - Visual Studio (Windows)
Use Visual Studio to define and run unit tests to maintain code health, and to find errors and faults before your customers do....
Read more >
Best practices for writing unit tests - .NET - Microsoft Learn
Learn best practices for writing unit tests that drive code quality and resilience for .NET Core and .NET Standard projects.
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