-
Notifications
You must be signed in to change notification settings - Fork 140
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
Support run TestNG suites toward XML file #596
Comments
Thanks, |
Hi @Mohannad91, Do you mean in the context menu, you want another item called |
Hi @jdneo .. yeah exactly what i meant.. |
@jdneo: While the "Run Test" context menu command would be handy, users can get equivalent functionality by right clicking a Maven project and choosing the Example: With TestNG, I can use the However, using the CodeLens "Run Test" or "Debug Test" action on A nice feature would be to automagically give Run Test and Debug Test visibility to the stuff specified in testng.xml. @Parameters would be one such example that's fairly straightforward. Getting more stuff out of testng.xml at runtime might be nontrivial and something you might consider splitting into subtasks. |
Hi @dg-ceiland, Sorry for my late reply and thank you for the detailed explanation. Just as you have said, the extension currently has limited support on TestNG. And your suggestion is very inspiring. I think I can first support running/debugging towards the |
Hi @ALL, Now have one problem with this issue. The VS Code
I prefer the first one, but I'm worrying about the confusion that may be introduced here. Do you guys have any thoughts on this? |
@jdneo Just to confirm we're talking about the same thing (I don't believe we are), I've included a screenshot of the Run / Debug Test UI clickables that I'm thinking of. Perhaps my suggestion is outside of the scope of this issue. In any case, it's tricky to say which of your options is better - option 1 would probably be my choice as well. |
@dg-ceiland I think you are talking about bringing the context defined in testng.xml to the |
@jdneo Yes. Is this within scope, or even doable? If so, is this something that should be put into a different issue? |
@dg-ceiland Yes, I think it would be better to file this into another new issue. Would you mind to file a new issue for that? |
@jdneo |
There is one concern that so far I cannot find a way to figure out |
@jdneo Yeah, understand. Is there any way to customize the context menu my self to achieve this (I can accept that I get the options on all xmls)? |
@oliversundell Your comment inspired me! So actually there is some ways to filter the unexpected
|
@jdneo Great! Think both options sounds good. I'm just eager to loose Eclipse and move my development of testng to vs :) |
@jdneo - Is there any update on this thread. |
Is there any progress on this issue, this feature would help me a lot |
It would be great to have the feature for test engineers to run BDD cucumber tests and a suite of test script execution as well. Please let us know when we can expect this changes :) |
Any progress on this? Only missing part for me to move away from other IDEs. |
Same here. waiting for this to be implemented before i can dump Eclipse |
Any news about this issue ? or any work around to solve it ? |
Really surprised this is not prioritized more. This is a pretty basic feature & a must-have IMO. |
Hello folks, we are taking a look at this issue and evaluating the technical feasibility. Will keep you posted |
Any update about this issue? |
I don't know how it may be stated that VSCode can support testNG when it cannot kick off by the test xml file. |
Any plan to add this feature. This is only piece which is making me use IntelliJ |
"One of the reasons for commercial products can survive is that some popular features cannot be always implemented easily/quickly in FOSS products." -- Somebody Workarounds to Run TestNG suite file in Vscode:
|
DEV's IDE Use case. No one's quote is going to change this. |
Yes, right click is very good feature. However, in real world, not all the test suites can run simply by simple right click. For our cases, we have to configure tons of dynamical parameters(-Dname=value) or in properties file. After configuring the TestNG suites, you can also have them in drop-down list: Run and Debug view or Maven Favorites (You can set shortcut for it - I used "Alt + F"). |
For me, the integration into the UI is not only needed for starting tests, but also to integrate it in the UI with debugging and marked successful and failed tests in the test tree and the code with errors. That is the main benefit that vscode is currently missing on suite xmls compared to eclipse, for example. |
Wow, as great as vscode is, and this sits here like a huge sore thumb. |
The experience could be adding a command action into the file explorer context menu, like this:
The text was updated successfully, but these errors were encountered: