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
CodeCrictics in Spec2 port (add new classes using Spec2) #9773
CodeCrictics in Spec2 port (add new classes using Spec2) #9773
Conversation
Thanks a LOT. |
Hi alejandra First this is super cool :). Here is a list of possible improvements.
Now some details
Check for the critic vs. Critique (the PhD of Yuriy should use the right one)
setUp is not neededcopy1 ——— we should avoid formatting looks bad applyChangesInUnified newUnifiedRadioButton newSplitRadioButton connectPresenters
banRule
rationaleOfRule
—— (should be renamed CBCritiquesRuleGroup). ——— We should check this setTextModelForClassOrMethod: aCritique
—— We should check because may be Spec2 by using TaskIt can do a better job. updateList
——
=> addFalsePositiveRule: aRule forPackage: aPackage
I would do the changes above and afetr we can
|
Thank you for your feedback Steph! I will work on this points ;) |
I will do the PR with the new changes in NewTools :) |
Fixes issue #4026
Changes:
Deprecated the classes of this package 'Tool-CriticBrowser' (these were the classes: CriticBrowser, CriticBrowserRulesGroup, CriticToolbar, CriticWorkingConfiguration, CriticsCache, ResetWindow, SelectBrowser, SelectPackageBrowser, SelectRuleBrowser, SingleCodeCriticResultList)
Added the following classes: CBRewriteCritiqueChangesBrowser, CBUnifiedDiffChangesMorph, CBUnifiedDiffJoinSection for the option to automatically resolve a critique, when the critique has transform.
Updated the UI to select packages and rules, these are the new classes: CBSelectPackage, CBSelectRule.
Solved some issues during the migration, some of them were reported as the issues CodeCritics - Update button wrong behavior #9449 and CodeCritics - Add other options to Code comparision #9307.
Updated UI in the flow and usability of the tool in the CBCritiqueBrowser class.
Add package: 'Tool-CriticBrowser-Tests'