test: continuous coverage increase batch (exceptions, content provider, preference pages, action)#337
Merged
Merged
Conversation
…sses Add unit tests for previously untested pure-logic classes: - ContainerCreation: recursive parent/container creation, existence short-circuit, creation ordering and cancellation - LanguagePreferencesReader/Writer: store value reading with defaults fallback, qualified-key writing, active state delegation - Preference/BooleanPreference/StringPreference: plugin-id name prefixing, possible-value validation, default value registration - TestAnnotationMode: method search mode exposure and OFF rejection
Add unit tests for previously untested classes: - CreatedFolderPath: recursive first-folder deletion, non-ancestor cleanup, empty toString when no resource - CorrespondingMemberRequest: builder defaults and configuration (method search mode, expected type, prompt text, class creation) - SourceFolderMapping: 3-arg constructor, source list replacement and toString description - FileTester: receiver/method guards and hasDefaultSupport delegation - MoreUnitAnnotation: tested/ignored annotation factories
- Add RunTestSWTBotTest: open CUT, press Ctrl+R (MoreUnit Run Test), assert a launch is created via DebugPlugin - Add Calculator.txt / CalculatorTest.txt resource files (JUnit5) - Fix eclipse-latest.target: add org.eclipse.jdt.junit5.runtime (needed to launch JUnit 5 tests from the workbench) - Fix swtbot.test MANIFEST: add org.eclipse.debug.core (for launch assertion via DebugPlugin) - Update/Add Claude skills with build, test and coverage documentation
- Add MissingViewsSWTBotTest: opens the Show View dialog, expands MoreUnit category, selects view, asserts it opens - Test Resource: MyClassWithMethods.txt / MyClassWithMethodsTest.txt (JUnit 5 partial test coverage scenario)
… and action - FolderCreationException: constructor with CoreException and folder - FileContentProvider: file list, default selection, children/parent - PreferencePages: constant IDs validation - NoDependenciesToMockException: class name in message, parent class - CreateTestMethodHierarchyAction: non-structured selection guard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New tests
Cumulative progress (this PR on top of #333-336)