Skip to content

Conversation

@scordio
Copy link
Owner

@scordio scordio commented Aug 1, 2025

No description provided.

@scordio scordio force-pushed the spring-conversion branch 2 times, most recently from c3a4c44 to c8268bf Compare August 3, 2025 12:47
@scordio scordio force-pushed the spring-conversion branch 3 times, most recently from abe254a to 480bb56 Compare October 14, 2025 22:48
@scordio scordio force-pushed the main branch 2 times, most recently from 3ee89d8 to 7eb3857 Compare October 17, 2025 16:50
@scordio
Copy link
Owner Author

scordio commented Oct 29, 2025

@copilot rebase this PR and update the user guide with this new feature

Copy link

Copilot AI commented Oct 29, 2025

@scordio I've opened a new pull request, #35, to work on those changes. Once the pull request is ready, I'll request review from you.

@scordio scordio force-pushed the spring-conversion branch 9 times, most recently from 99aa185 to db785c4 Compare November 2, 2025 11:01
@scordio scordio requested a review from Copilot November 2, 2025 11:01
@scordio scordio marked this pull request as ready for review November 2, 2025 11:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Spring Framework type conversion to JUnit parameterized tests through a new @SpringConversion annotation.

  • Introduces a new @SpringConversion annotation that delegates to Spring's DefaultConversionService
  • Adds comprehensive test coverage and documentation for various conversion scenarios
  • Configures the dependency as optional to avoid forcing Spring on all users

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/main/java/io/github/scordio/junit/converters/SpringConversion.java New annotation for Spring-based argument conversion
src/main/java/io/github/scordio/junit/converters/SpringArgumentConverter.java Converter implementation delegating to Spring's ConversionService
src/main/java/module-info.java Adds static optional dependency on spring.core module
src/test/java/module-info.java Adds test module dependency on spring.core
src/test/java/io/github/scordio/tests/junit/converters/SpringConversionIntegrationTests.java Integration tests for supported conversion scenarios
src/demo/java/io/github/scordio/SpringConversionDemo.java Demo code showing annotation usage
pom.xml Adds optional spring-core dependency and enforcer plugin configuration
docs/converters/spring-conversion.md Documentation with usage examples and conversion tables
docs/index.md Updates converter list to include SpringConversion
mkdocs.yml Adds navigation entry and enables TOC integration
docs/converters/base64.md Removes TOC hiding configuration
docs/converters/hex.md Removes TOC hiding configuration
.github/workflows/main.yml Adds CI job to test against Spring Framework 6.2.12 and 7.0.0-RC3

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@scordio scordio merged commit 7fabb84 into main Nov 2, 2025
31 checks passed
@scordio scordio deleted the spring-conversion branch November 2, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants