Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unit tests when contributing on Windows 10 #3891

Merged
merged 18 commits into from Apr 29, 2019

Conversation

naddison
Copy link
Contributor

Proposed changes

I have changed some unit test expect statements to use regex to account for file system differences, \ vs / and \ vs /. I contribute using a Windows machine and was getting annoyed with a bunch of tests failing. These changes will make the tests agnostic of windows/mac/linux.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • [] I have added necessary documentation (if appropriate)

Reviewers: @webdriverio/technical-committee

@codecov
Copy link

codecov bot commented Apr 28, 2019

Codecov Report

Merging #3891 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3891   +/-   ##
=======================================
  Coverage   98.57%   98.57%           
=======================================
  Files         153      153           
  Lines        3434     3434           
  Branches      749      749           
=======================================
  Hits         3385     3385           
  Misses         44       44           
  Partials        5        5

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f715a76...ce85d54. Read the comment docs.

Copy link
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@christian-bromann christian-bromann added the PR: Internal 🏠 PRs that contain changes internals label Apr 29, 2019
@christian-bromann christian-bromann merged commit 27725a9 into webdriverio:master Apr 29, 2019
yamkay pushed a commit to MoveInc/webdriverio that referenced this pull request Sep 4, 2019
* junit-reporter: updated documentation to reflect current options

* junit-reporter: remove console log lines

* junit-reporter: allow reporter to work with runner that has multiple suites

* junit-report: fix nested and multiple describe blocks

* wdio-sauce-service: update unit test

* wdio-junit-reporter: add unit test to cover error options

* fix unit tests for windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Internal 🏠 PRs that contain changes internals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants