-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add Run and Debug buttons to Spec Explorer #700
Conversation
Signed-off-by: Atsuo INOUE <at6ue@outlook.jp>
thanks for sending this, I will take a look shortly (held up on something else presently). |
I took a look at the code, some thoughts... testsI'd like the tests to work, so I took your tests into my local checkout and ran it. Some thoughts:
command contribsThe use of debugger launch failureReg passing On passing |
Unfortunately I could not reproduce it either on MacOS X or Windows 10. Could you please give me more details?
It looks difficult to me because
OK, I will replace all of them.
Sure! |
Something is up, I am trying to run [your tests] in my linux and macOS (m1) machines, and both yield the same error, ex:
I am going to try again, but if this does not work, I'll test this manually and merge this in. This seems like a nice feature to have! Thanks for all the effort. ps - your latest commit needs to be signed off, the DCO check is failing |
Signed-off-by: Atsuo INOUE <at6ue@outlook.jp>
b0b395a
to
9952432
Compare
Thank you for the detail, I will look further into it this weekend, but perhaps we should focus on manual testing since test code are not good for production anyway. I signed off the last commit and force pushed. I reset your merge commit so could you please merge master again if necessary? |
@at6ue Thank you for contributing to gauge-vscode. Your pull request has been labeled as a release candidate 🎉🎉. Merging this PR will trigger a release. Please bump up the version as part of this PR.Instructions to bump the version can found at CONTRIBUTING.md If the CONTRIBUTING.md file does not exist or does not include instructions about bumping up the version, please looks previous commits in git history to see what changes need to be done. |
@at6ue - thank you very much for adding this in! I have approved this, and marked this PR as a ReleaseCandidate. If you can please bump the version, I'll merge this in and it will trigger a release. |
Signed-off-by: Atsuo INOUE <at6ue@outlook.jp>
This error seems to occur if the argument is captured before Thank you for accepting. I bumped up the version, please check it. PS: There is no CONTRIBUTING.md in this repo that gaugebot mentions. |
Possible, I will study this further.
Thank you for improving gauge-vscode!
Yes, some repositories do not have it. Gauge-bot is active across https://github.com/getgauge organization and hence it has a blanket message. Thanks for reminding - will put one in place! |
Summary
Inline Run and Debug buttons in Spec Explorer to run/debug spec/scenario without opening files.
Discussions
Test codes
I could not add any tests for this because,
Scenario
class in the test code is not the same as the one inextension.js
.Here's what I've done.
Command contributions
Using
false
on when clause might confuse the parser, but I usedfalse
to respect the existing implementations.microsoft/vscode#45119
Debugger starting failure
I modified
lineProcessor.ts
because I noticed VSCode show nothing there:window.showErrorMessage
cannot handleError
object.I was confused because the terminal only showed "Success: Tests passed." then. Is it intentional that passing
false
toexecutor.cancel
here?