Skip to content

Make it easier to debug test failures #937

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

Merged
merged 1 commit into from
Jan 31, 2019
Merged

Make it easier to debug test failures #937

merged 1 commit into from
Jan 31, 2019

Conversation

ejizba
Copy link
Contributor

@ejizba ejizba commented Jan 25, 2019

I was having problems with tests when I tried to run them against Insiders for this PR: #936 These are just a few quality of life improvements that came out of that.

  1. Use mocha-multi-reporters like stephen's done in other repos
  2. Set ext.ui immediately. In some cases this will report "Unexpected call to showWarningMessage..." instead of a timeout
  3. Added runWithSetting so that I had more control on when settings are used in tests. For example, if the dispose method of FunctionTesterBase failed at fse.remove these weren't getting set back

@ejizba ejizba requested a review from a team as a code owner January 25, 2019 22:11
@ejizba ejizba merged commit 6564ffa into master Jan 31, 2019
@ejizba ejizba deleted the ej/test branch January 31, 2019 20:01
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants