Summary: | Add import static org.mockito.Mockito.*; to favorites in JDT | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Lars Vogel <Lars.Vogel> |
Component: | UI | Assignee: | Lars Vogel <Lars.Vogel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | gautier.desaintmartinlacaze, Lars.Vogel, noopur_gupta, pyvesdev |
Version: | 4.14 | Keywords: | usability |
Target Milestone: | 4.19 M2 | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/175431 https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=4af93e11ef4bf764914a43712d8abe62bef26b11 https://bugs.eclipse.org/bugs/show_bug.cgi?id=511443 https://git.eclipse.org/r/c/www.eclipse.org/eclipse/news/+/175441 https://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=8313de2bf6e02693a9eeb4d167ef2a3413a1b59a https://bugs.eclipse.org/bugs/show_bug.cgi?id=575246 |
||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 569282 |
Description
Lars Vogel
2020-04-30 02:34:36 EDT
Noopur, WDYT? It will be OK to add a new favorite if there's a demand but I haven't seen any other bug request to add Mockito yet. Also, it should be checked which classes/packages from Mockito are desired most frequently and only those should be added to favorites. (In reply to Noopur Gupta from comment #2) > It will be OK to add a new favorite if there's a demand but I haven't seen > any other bug request to add Mockito yet. > > Also, it should be checked which classes/packages from Mockito are desired > most frequently and only those should be added to favorites. org.mockito.Mockito.* seems to be the big win. I'm delivering a JUnit / Mockito, etc. training to a customer and that one would make already a big difference. New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/175431 Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/175431 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=4af93e11ef4bf764914a43712d8abe62bef26b11 Thanks for the patch, Lars. Please verify it in the next build and add an N&N entry. New Gerrit change created: https://git.eclipse.org/r/c/www.eclipse.org/eclipse/news/+/175441 Gerrit change https://git.eclipse.org/r/c/www.eclipse.org/eclipse/news/+/175441 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=8313de2bf6e02693a9eeb4d167ef2a3413a1b59a Thanks for adding this, it will be handy for me as well! (In reply to Pierre-Yves B. from comment #9) > Thanks for adding this, it will be handy for me as well! If you think we should add more Mockito packages, please let us know. After writing lots of Mockito tests for a client I noted that org.mockito.ArgumentMatchers.*; is used very frequently. Opened Bug 575246 to add this also. |