-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
VSCodeHook to communicate with vscode, sending start-end events and http logs. #1487
Conversation
@ivangsa seems to be a custom requirement, does not need to be in core IMO |
@ptrthomas yes is a custom requirement but it would help adoption if provided by karate and users don't need to add it |
@ptrthomas ok, I undestand if this needs time to think through and validate |
while we're at it can we proceed with releasing a 2nd version of Peter's Karate project too? 🙂 i think ivan has some great suggestions and additions here, but agree we need to properly vet everything. @ivangsa happy to work with you and be "very" accommodating with your asks in an effort to fuse our solutions together into the existing Karate Runner extension. also in agreement that there are quite a number of differences between our implementations, but that shouldn't serve as reason to publish an entirely new extension nor go against working together. consider the implications. each of us will probably hate each other over time, double the work, wasted time competing, the extensions will be diluted/weakened as a whole with 2 releases, users will likely be confused and/or unhappy generaly, especially if each version of the extension offers something the other doesn't that they really want. which one will the choose? please reconsider as i'm ecstatic to join forces. |
hi @kirksl, it's nice to talk you again first I agree that ideas may need to thought throught, and properly vet everything.. and I think I understant the implications of having two different extensions in terms of
I took all this into consideration back in december... when approached you.. But I first expressed my concerns here (remember?):
After our conversation we almost agree in:
Remember? ZenWave360/karate-ide#1 (comment) Well, what happend after two weeks when we got back to you was:
and we didn't really get any code review (and it was later I found out about the code refactoring that made merging hard if not imposible...) I don't expected this to work... I don't think I'm going to hate you or your extension at all.. I already show you our appreciation for your work, without it we wouldn't even start this.. The main reason we did this fork is because we need this functionality for every day work... I'm work for a team of ~10 people dedicated to write api testing as main task, and for apis they are not developers nor users (so they don't really know tha api and need tools to explore)... I'm not sure, but I would keep the original karate-runner for compatibility with previous karate version And if you want to keep developing the extension you can join forces in our project, you will be more than welcome... And I would say this once again, I thank you for all the effort you put into this because is an important part of our daily work. So thanks for that! Now please take your time, because there is no rush... What I have in mind for the future is:
I leave it like this, and sorry for this excedingly long post... |
I've just introduced methods to intercept (and even modify if needed) the http request and response as part of the runtime-hook (which has been simplified so that you only need to over-ride the methods you need to) have not tested this - but hopefully is a generic way for users to introduce custom http logging, capture etc. for e.g. one of the possibilities would be to document all HTTP calls made by a test-suite |
RuntimeHook to comunicate with vscode, sending start-end events and http logs in real time.