From d80833e05c74ee39b9db387cc37094cb114f7e15 Mon Sep 17 00:00:00 2001 From: Jinho Yim Date: Fri, 23 May 2025 15:24:56 +0900 Subject: [PATCH 1/3] Change Javadoc version to 11.0.1 --- docs/features/customization.mdx | 14 +++++++------- docs/features/factory.mdx | 4 ++-- docs/features/freeze-by.mdx | 10 +++++----- docs/features/parameterized.mdx | 10 +++++----- docs/features/resolution-context.mdx | 2 +- .../current/features/customization.mdx | 14 +++++++------- .../current/features/factory.mdx | 4 ++-- .../current/features/freeze-by.mdx | 10 +++++----- .../current/features/parameterized.mdx | 10 +++++----- .../current/features/resolution-context.mdx | 2 +- 10 files changed, 40 insertions(+), 40 deletions(-) diff --git a/docs/features/customization.mdx b/docs/features/customization.mdx index 886c7e1..3497a1e 100644 --- a/docs/features/customization.mdx +++ b/docs/features/customization.mdx @@ -14,7 +14,7 @@ For example, suppose the `Product` entity must follow these business rules: - `priceAmount` must be greater than or equal to `10` - `priceAmount` must be less than or equal to `10000` -You can implement these rules using a custom generator by extending [`ObjectGeneratorBase`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/generator/ObjectGeneratorBase.html): +You can implement these rules using a custom generator by extending [`ObjectGeneratorBase`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/generator/ObjectGeneratorBase.html): ```java @@ -49,9 +49,9 @@ class ProductGenerator : ObjectGeneratorBase() { ``` -This custom generator creates a `Product` instance that adheres to the business constraints. It uses [`ResolutionContext`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/ResolutionContext.html) to generate supporting values like `id` and `name`, and applies explicit logic to generate a valid `priceAmount`. +This custom generator creates a `Product` instance that adheres to the business constraints. It uses [`ResolutionContext`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/ResolutionContext.html) to generate supporting values like `id` and `name`, and applies explicit logic to generate a valid `priceAmount`. -You can apply this custom generator using the [`@Customization`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/Customization.html) annotation: +You can apply this custom generator using the [`@Customization`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/Customization.html) annotation: ```java @@ -142,7 +142,7 @@ fun testMethod(product: Product, review: Review) { ``` -Alternatively, if you prefer to encapsulate multiple generators into a single reusable configuration, you can extend [`CompositeCustomizer`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/CompositeCustomizer.html): +Alternatively, if you prefer to encapsulate multiple generators into a single reusable configuration, you can extend [`CompositeCustomizer`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/CompositeCustomizer.html): ```java @@ -312,7 +312,7 @@ class TestClass { ``` -In this example, we use the [`set`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/dsl/ArgumentCustomizationDsl.html#set(autoparams.customization.dsl.FunctionDelegate)) static method from the [`ArgumentCustomizationDsl`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/dsl/ArgumentCustomizationDsl.html) class to customize the behavior of the `ResolutionContext`. Specifically: +In this example, we use the [`set`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/dsl/ArgumentCustomizationDsl.html#set(autoparams.customization.dsl.FunctionDelegate)) static method from the [`ArgumentCustomizationDsl`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/dsl/ArgumentCustomizationDsl.html) class to customize the behavior of the `ResolutionContext`. Specifically: - The `product` property in any `Review` instance created by the context will be set to the `product` parameter of the test. - Likewise, the `rating` property will be set to the `rating` parameter. @@ -359,7 +359,7 @@ class TestClass { ``` -The [`Factory`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/generator/Factory.html) class provides a convenient way to create customized objects when working with a single type. It avoids managing an explicit resolution context and keeps the test focused on the instances under test. +The [`Factory`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/generator/Factory.html) class provides a convenient way to create customized objects when working with a single type. It avoids managing an explicit resolution context and keeps the test focused on the instances under test. :::note @@ -376,7 +376,7 @@ The `set` method relies on the availability of parameter names at runtime. Howev ## Settable Properties -If a class follows the JavaBeans convention—meaning it has a no-arguments constructor and public setter methods—AutoParams can automatically populate its properties using the [`InstancePropertyWriter`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/processor/InstancePropertyWriter.html) customizer. +If a class follows the JavaBeans convention—meaning it has a no-arguments constructor and public setter methods—AutoParams can automatically populate its properties using the [`InstancePropertyWriter`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/processor/InstancePropertyWriter.html) customizer. Here's a simple example: diff --git a/docs/features/factory.mdx b/docs/features/factory.mdx index 203b293..4cb1ee5 100644 --- a/docs/features/factory.mdx +++ b/docs/features/factory.mdx @@ -7,7 +7,7 @@ import { JavaKotlinCodeBlock } from '@site/src/components/JavaKotlinCodeBlock'; # `Factory` class -The [`Factory`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/generator/Factory.html) class is useful when you need to generate multiple instances of the same type. It allows you to create single instances or collections of generated objects on demand. +The [`Factory`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/generator/Factory.html) class is useful when you need to generate multiple instances of the same type. It allows you to create single instances or collections of generated objects on demand. Here's an example: @@ -31,4 +31,4 @@ fun testMethod() { ``` -In this example, a `Factory` is created to produce `Product` instances. The [`get()`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/generator/Factory.html#get()) method creates a single instance, while [`getRange(n)`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/generator/Factory.html#getRange(int,autoparams.customization.Customizer...)) returns a list of `n` instances. This approach is particularly helpful when you need bulk data generation in your tests. +In this example, a `Factory` is created to produce `Product` instances. The [`get()`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/generator/Factory.html#get()) method creates a single instance, while [`getRange(n)`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/generator/Factory.html#getRange(int,autoparams.customization.Customizer...)) returns a list of `n` instances. This approach is particularly helpful when you need bulk data generation in your tests. diff --git a/docs/features/freeze-by.mdx b/docs/features/freeze-by.mdx index 7529de5..dfb0a84 100644 --- a/docs/features/freeze-by.mdx +++ b/docs/features/freeze-by.mdx @@ -7,13 +7,13 @@ import { JavaKotlinCodeBlock } from '@site/src/components/JavaKotlinCodeBlock'; # `@FreezeBy` Annotation -The [`@FreezeBy`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/FreezeBy.html) annotation enables fine-grained control over value freezing in tests. It allows you to freeze a single value and reuse it across multiple generation targets that match specific conditions, such as type or name. This helps improve test readability and ensures consistency among generated values. +The [`@FreezeBy`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/FreezeBy.html) annotation enables fine-grained control over value freezing in tests. It allows you to freeze a single value and reuse it across multiple generation targets that match specific conditions, such as type or name. This helps improve test readability and ensures consistency among generated values. ## Matching Strategies AutoParams provides several matching strategies that determine which targets should receive the frozen value during object generation. The following examples illustrate some strategies: -- [`EXACT_TYPE`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/Matching.html#EXACT_TYPE) +- [`EXACT_TYPE`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/Matching.html#EXACT_TYPE) Reuses the frozen value for all targets with the exact same type. @@ -72,7 +72,7 @@ AutoParams provides several matching strategies that determine which targets sho In this example, all `String` targets—including the `String` field inside `StringContainer`—are generated with the same frozen value. -- [`IMPLEMENTED_INTERFACES`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/Matching.html#IMPLEMENTED_INTERFACES) +- [`IMPLEMENTED_INTERFACES`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/Matching.html#IMPLEMENTED_INTERFACES) Reuses the frozen value for targets whose types are interfaces that the frozen value's type implements. @@ -116,7 +116,7 @@ AutoParams provides several matching strategies that determine which targets sho In this example, `String` implements `CharSequence`, so the same value is reused for both `s1` and `chars`. `StringContainer` is not affected because its type is not an interface. -- [`PARAMETER_NAME`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/Matching.html#PARAMETER_NAME) +- [`PARAMETER_NAME`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/Matching.html#PARAMETER_NAME) Reuses the frozen value for other targets with matching names. @@ -210,7 +210,7 @@ In this example, the frozen value `s1` is reused for both `s2` (same type) and ` ## Shorthand for `EXACT_TYPE` -Using [`@Freeze`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/Freeze.html) is equivalent to `@FreezeBy(EXACT_TYPE)`. It's a convenient shorthand for the most common matching strategy. +Using [`@Freeze`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/Freeze.html) is equivalent to `@FreezeBy(EXACT_TYPE)`. It's a convenient shorthand for the most common matching strategy. ```java diff --git a/docs/features/parameterized.mdx b/docs/features/parameterized.mdx index 911709b..e4d506f 100644 --- a/docs/features/parameterized.mdx +++ b/docs/features/parameterized.mdx @@ -13,7 +13,7 @@ Here are some of the features you can use for parameterized tests. ## `@ValueAutoSource` Annotation -The [`@ValueAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/ValueAutoSource.html)(or `@ValueAutoKotlinSource`) annotation is a simple yet powerful tool for writing parameterized tests with AutoParams. +The [`@ValueAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/ValueAutoSource.html)(or `@ValueAutoKotlinSource`) annotation is a simple yet powerful tool for writing parameterized tests with AutoParams. ```java @@ -45,7 +45,7 @@ This feature depends on parameter name availability. See the note in the [One-ti ::: -In this example, the test method is executed twice—once with `"Camera"` and once with `"Candle"` as the value of the `name` parameter. The `factory` parameter is resolved automatically by AutoParams and can be customized using the DSL, as shown with [`freezeArgument`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/dsl/ArgumentCustomizationDsl.html). +In this example, the test method is executed twice—once with `"Camera"` and once with `"Candle"` as the value of the `name` parameter. The `factory` parameter is resolved automatically by AutoParams and can be customized using the DSL, as shown with [`freezeArgument`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/dsl/ArgumentCustomizationDsl.html). This enables the creation of test objects (`Product` in this case) that are partially controlled (e.g., a fixed name) and partially randomized (e.g., all other properties), striking a balance between specificity and variety. @@ -64,7 +64,7 @@ The usage of `@ValueAutoSource` is similar to JUnit 5's `@ValueSource`, and it s ## `@CsvAutoSource` Annotation -The [`@CsvAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/CsvAutoSource.html)(or `@CsvAutoKotlinSource`) annotation lets you define repeated test inputs in CSV format, similar to JUnit 5’s @CsvSource. Any parameters not explicitly provided in the CSV rows will be automatically generated by AutoParams. +The [`@CsvAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/CsvAutoSource.html)(or `@CsvAutoKotlinSource`) annotation lets you define repeated test inputs in CSV format, similar to JUnit 5’s @CsvSource. Any parameters not explicitly provided in the CSV rows will be automatically generated by AutoParams. ```java @@ -100,7 +100,7 @@ This approach makes it easy to test combinations of fixed and dynamic values in ## `@MethodAutoSource` Annotation -The [`@MethodAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/MethodAutoSource.html)(or `@MethodAutoKotlinSource`) annotation combines the features of JUnit 5’s `@MethodSource` and AutoParams’s `@AutoSource`. You can specify a method that provides test data, and AutoParams will fill in any remaining parameters automatically. +The [`@MethodAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/MethodAutoSource.html)(or `@MethodAutoKotlinSource`) annotation combines the features of JUnit 5’s `@MethodSource` and AutoParams’s `@AutoSource`. You can specify a method that provides test data, and AutoParams will fill in any remaining parameters automatically. ```java @@ -145,7 +145,7 @@ This setup allows you to blend manually specified values with automatically gene ## `@Repeat` Annotation -The [`@Repeat`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/Repeat.html) annotation allows you to run a test multiple times, generating fresh random values for unspecified parameters on each run. +The [`@Repeat`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/Repeat.html) annotation allows you to run a test multiple times, generating fresh random values for unspecified parameters on each run. ```java diff --git a/docs/features/resolution-context.mdx b/docs/features/resolution-context.mdx index 29a7208..8c82830 100644 --- a/docs/features/resolution-context.mdx +++ b/docs/features/resolution-context.mdx @@ -7,7 +7,7 @@ import { JavaKotlinCodeBlock } from '@site/src/components/JavaKotlinCodeBlock'; # `ResolutionContext` class -The [`ResolutionContext`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/ResolutionContext.html) class provides the core mechanism for generating test data. While it is used internally by AutoParams, you can also instantiate and use it directly in your own test code when needed. +The [`ResolutionContext`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/ResolutionContext.html) class provides the core mechanism for generating test data. While it is used internally by AutoParams, you can also instantiate and use it directly in your own test code when needed. Here's an example: diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/features/customization.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/features/customization.mdx index edc6c9e..b7dc0b2 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/features/customization.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/features/customization.mdx @@ -14,7 +14,7 @@ import { JavaKotlinCodeBlock } from '@site/src/components/JavaKotlinCodeBlock'; - `priceAmount`는 `10`보다 크거나 같아야 합니다. - `priceAmount`는 `10000`보다 작거나 같아야 합니다. -[`ObjectGeneratorBase`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/generator/ObjectGeneratorBase.html)를 확장한 사용자 정의 제너레이터를 사용하여 이러한 규칙을 구현할 수 있습니다. +[`ObjectGeneratorBase`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/generator/ObjectGeneratorBase.html)를 확장한 사용자 정의 제너레이터를 사용하여 이러한 규칙을 구현할 수 있습니다. ```java @@ -49,9 +49,9 @@ class ProductGenerator : ObjectGeneratorBase() { ``` -이 사용자 정의 제너레이터는 비즈니스 제약 조건을 준수하는 `Product` 인스턴스를 생성합니다. [`ResolutionContext`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/ResolutionContext.html)를 사용하여 제공되는 `id` 및 `name` 값을 생성하고 명시적 논리를 적용하여 유효한 `priceAmount`를 생성합니다. +이 사용자 정의 제너레이터는 비즈니스 제약 조건을 준수하는 `Product` 인스턴스를 생성합니다. [`ResolutionContext`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/ResolutionContext.html)를 사용하여 제공되는 `id` 및 `name` 값을 생성하고 명시적 논리를 적용하여 유효한 `priceAmount`를 생성합니다. -[`@Customization`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/Customization.html) 애너테이션으로 사용자 정의 제너레이터를 적용할 수 있습니다. +[`@Customization`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/Customization.html) 애너테이션으로 사용자 정의 제너레이터를 적용할 수 있습니다. ```java @@ -142,7 +142,7 @@ fun testMethod(product: Product, review: Review) { ``` -또는 여러 제너레이터를 재사용 가능한 단일 구성으로 캡슐화하려는 경우 [`CompositeCustomizer`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/CompositeCustomizer.html)를 확장할 수 있습니다. +또는 여러 제너레이터를 재사용 가능한 단일 구성으로 캡슐화하려는 경우 [`CompositeCustomizer`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/CompositeCustomizer.html)를 확장할 수 있습니다. ```java @@ -312,7 +312,7 @@ class TestClass { ``` -이 예에서는 [`ArgumentCustomizationDsl`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/dsl/ArgumentCustomizationDsl.html) 클래스의 [`set`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/dsl/ArgumentCustomizationDsl.html#set(autoparams.customization.dsl.FunctionDelegate)) 정적 메서드를 사용하여 `ResolutionContext`의 동작을 사용자 정의합니다. 구체적으로 다음과 같은 동작을 수행합니다. +이 예에서는 [`ArgumentCustomizationDsl`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/dsl/ArgumentCustomizationDsl.html) 클래스의 [`set`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/dsl/ArgumentCustomizationDsl.html#set(autoparams.customization.dsl.FunctionDelegate)) 정적 메서드를 사용하여 `ResolutionContext`의 동작을 사용자 정의합니다. 구체적으로 다음과 같은 동작을 수행합니다. - 컨텍스트에서 생성된 모든 `Review` 인스턴스의 `product` 속성은 테스트 메서드의 `product` 매개변수로 설정됩니다. - 마찬가지로 `Review` 인스턴스의 `rating` 속성은 `rating` 매개변수로 설정됩니다. @@ -359,7 +359,7 @@ class TestClass { ``` -[`Factory`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/generator/Factory.html) 클래스는 단일 유형에 대한 사용자 정의 객체를 생성하는 편리한 방법을 제공합니다. 명시적으로 `ResolutionContext`를 다룰 필요 없이 테스트 대상 인스턴스에 집중할 수 있습니다. +[`Factory`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/generator/Factory.html) 클래스는 단일 유형에 대한 사용자 정의 객체를 생성하는 편리한 방법을 제공합니다. 명시적으로 `ResolutionContext`를 다룰 필요 없이 테스트 대상 인스턴스에 집중할 수 있습니다. :::note @@ -376,7 +376,7 @@ class TestClass { ## 설정 가능한 속성 -클래스가 JavaBeans 규칙을 따르는 경우(즉, 인수 없는 생성자와 공개 세터 메서드가 있는 경우) AutoParams는 [`InstancePropertyWriter`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/processor/InstancePropertyWriter.html) 커스터마이저를 사용하여 자동으로 속성을 채울 수 있습니다. +클래스가 JavaBeans 규칙을 따르는 경우(즉, 인수 없는 생성자와 공개 세터 메서드가 있는 경우) AutoParams는 [`InstancePropertyWriter`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/processor/InstancePropertyWriter.html) 커스터마이저를 사용하여 자동으로 속성을 채울 수 있습니다. 간단한 예는 다음과 같습니다. diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/features/factory.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/features/factory.mdx index 7a7fd90..7360f99 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/features/factory.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/features/factory.mdx @@ -7,7 +7,7 @@ import { JavaKotlinCodeBlock } from '@site/src/components/JavaKotlinCodeBlock'; # `Factory` 클래스 -[`Factory`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/generator/Factory.html) 클래스는 동일한 유형의 인스턴스를 여러 개 생성해야 할 때 유용합니다. 이 기능을 사용하여 필요에 따라 단일 인스턴스 또는 컬렉션을 생성할 수 있습니다. +[`Factory`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/generator/Factory.html) 클래스는 동일한 유형의 인스턴스를 여러 개 생성해야 할 때 유용합니다. 이 기능을 사용하여 필요에 따라 단일 인스턴스 또는 컬렉션을 생성할 수 있습니다. 다음은 그 예입니다. @@ -31,4 +31,4 @@ fun testMethod() { ``` -이 예에서는 `Product` 인스턴스를 만들기 위해 `Factory`가 생성되었습니다. [`get()`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/generator/Factory.html#get()) 메서드는 단일 인스턴스를 생성하는 반면, [`getRange(n)`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/generator/Factory.html#getRange(int,autoparams.customization.Customizer...)) 메서드는 `n`개의 인스턴스 목록을 반환합니다. +이 예에서는 `Product` 인스턴스를 만들기 위해 `Factory`가 생성되었습니다. [`get()`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/generator/Factory.html#get()) 메서드는 단일 인스턴스를 생성하는 반면, [`getRange(n)`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/generator/Factory.html#getRange(int,autoparams.customization.Customizer...)) 메서드는 `n`개의 인스턴스 목록을 반환합니다. diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/features/freeze-by.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/features/freeze-by.mdx index d62d062..51a765a 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/features/freeze-by.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/features/freeze-by.mdx @@ -7,13 +7,13 @@ import { JavaKotlinCodeBlock } from '@site/src/components/JavaKotlinCodeBlock'; # `@FreezeBy` 애너테이션 -[`@FreezeBy`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/FreezeBy.html) 애너테이션을 사용하면 테스트에서 값 동결을 세밀하게 제어할 수 있습니다. 단일 값을 동결하고 유형이나 이름과 같은 특정 조건과 일치하는 여러 생성 대상에서 이를 재사용할 수 있습니다. 이는 테스트 가독성을 향상시키고 생성된 값들 간의 일관성을 보장하는 데 도움이 됩니다. +[`@FreezeBy`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/FreezeBy.html) 애너테이션을 사용하면 테스트에서 값 동결을 세밀하게 제어할 수 있습니다. 단일 값을 동결하고 유형이나 이름과 같은 특정 조건과 일치하는 여러 생성 대상에서 이를 재사용할 수 있습니다. 이는 테스트 가독성을 향상시키고 생성된 값들 간의 일관성을 보장하는 데 도움이 됩니다. ## Matching Strategies AutoParams는 객체 생성 중에 동결된 값을 받아야 하는 대상을 결정하는 여러 가지 매칭 전략을 제공합니다. 다음 예에서 몇 가지 전략을 보여줍니다. -- [`EXACT_TYPE`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/Matching.html#EXACT_TYPE) +- [`EXACT_TYPE`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/Matching.html#EXACT_TYPE) 정확히 동일한 유형을 가진 모든 대상에 대해 동결된 값을 재사용합니다. @@ -72,7 +72,7 @@ AutoParams는 객체 생성 중에 동결된 값을 받아야 하는 대상을 이 예에서 `StringContainer` 내부의 `String` 필드를 포함한 모든 `String` 대상은 동일한 동결된 값으로 생성됩니다. -- [`IMPLEMENTED_INTERFACES`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/Matching.html#IMPLEMENTED_INTERFACES) +- [`IMPLEMENTED_INTERFACES`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/Matching.html#IMPLEMENTED_INTERFACES) 동결된 값이 인터페이스를 구현하고 있다면, 해당 인터페이스 타입의 대상에도 같은 값을 재사용합니다. @@ -116,7 +116,7 @@ AutoParams는 객체 생성 중에 동결된 값을 받아야 하는 대상을 이 예에서 `String`은 `CharSequence`를 구현하므로 동결된 값 `s1`이 `chars`에 재사용됩니다. `StringContainer`는 해당 유형이 인터페이스가 아니므로 영향을 받지 않습니다. -- [`PARAMETER_NAME`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/Matching.html#PARAMETER_NAME) +- [`PARAMETER_NAME`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/Matching.html#PARAMETER_NAME) 일치하는 이름을 가진 다른 대상에 대해 고정된 값을 재사용합니다. @@ -210,7 +210,7 @@ class TestClass { ## Shorthand for `EXACT_TYPE` -[`@Freeze`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/Freeze.html)를 사용하는 것은 `@FreezeBy(EXACT_TYPE)`와 같습니다. 이는 가장 일반적인 매칭 전략을 간편하게 단축하는 방법입니다. +[`@Freeze`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/Freeze.html)를 사용하는 것은 `@FreezeBy(EXACT_TYPE)`와 같습니다. 이는 가장 일반적인 매칭 전략을 간편하게 단축하는 방법입니다. ```java diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/features/parameterized.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/features/parameterized.mdx index b0c8875..fbcb17a 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/features/parameterized.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/features/parameterized.mdx @@ -13,7 +13,7 @@ AutoParams는 **매개변수화된 테스트**도 지원하므로 여러 입력 ## `@ValueAutoSource` 애너테이션 -[`@ValueAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/ValueAutoSource.html)(또는 `@ValueAutoKotlinSource`) 애너테이션은 AutoParams를 사용하여 매개변수화된 테스트를 작성하기 위한 간단하면서도 강력한 도구입니다. +[`@ValueAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/ValueAutoSource.html)(또는 `@ValueAutoKotlinSource`) 애너테이션은 AutoParams를 사용하여 매개변수화된 테스트를 작성하기 위한 간단하면서도 강력한 도구입니다. ```java @@ -45,7 +45,7 @@ fun testMethod(name: String, factory: Factory) { ::: -이 예에서 테스트 메서드는 두 번 실행됩니다. 한 번은 `"Camera"`로, 한 번은 `"Candle"`을 `name` 매개변수 값으로 사용합니다. `factory` 매개변수는 AutoParams에 의해 자동으로 해결되며 [`freezeArgument`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/customization/dsl/ArgumentCustomizationDsl.html)와 같이 DSL을 활용하여 사용자 정의할 수 있습니다. +이 예에서 테스트 메서드는 두 번 실행됩니다. 한 번은 `"Camera"`로, 한 번은 `"Candle"`을 `name` 매개변수 값으로 사용합니다. `factory` 매개변수는 AutoParams에 의해 자동으로 해결되며 [`freezeArgument`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/customization/dsl/ArgumentCustomizationDsl.html)와 같이 DSL을 활용하여 사용자 정의할 수 있습니다. 이를 통해 부분적으로 제어되고(예: 고정된 이름) 부분적으로 무작위화되는(예: 기타 모든 속성) 테스트 개체(이 경우 `Product`)를 생성하여 구체성과 다양성 사이의 균형을 유지할 수 있습니다. @@ -64,7 +64,7 @@ fun testMethod(name: String, factory: Factory) { ## `@CsvAutoSource` 애너테이션 -[`@CsvAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/CsvAutoSource.html)(또는 `@CsvAutoKotlinSource`) 애너테이션을 사용하면 JUnit 5의 @CsvSource와 유사한 CSV 형식으로 반복되는 테스트 입력을 정의할 수 있습니다. CSV 행에 명시적으로 제공되지 않은 모든 매개변수는 AutoParams에서 자동으로 생성됩니다. +[`@CsvAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/CsvAutoSource.html)(또는 `@CsvAutoKotlinSource`) 애너테이션을 사용하면 JUnit 5의 @CsvSource와 유사한 CSV 형식으로 반복되는 테스트 입력을 정의할 수 있습니다. CSV 행에 명시적으로 제공되지 않은 모든 매개변수는 AutoParams에서 자동으로 생성됩니다. ```java @@ -100,7 +100,7 @@ fun testMethod(name: String, priceAmount: BigDecimal, id: UUID) { ## `@MethodAutoSource` 애너테이션 -[`@MethodAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/MethodAutoSource.html)(또는 `@MethodAutoKotlinSource`) 애너테이션은 JUnit 5의 `@MethodSource`와 AutoParams의 `@AutoSource` 기능을 결합합니다. 이를 사용하여 테스트 데이터를 제공하는 메서드를 지정할 수 있으며, AutoParams는 나머지 매개변수를 자동으로 채웁니다. +[`@MethodAutoSource`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/MethodAutoSource.html)(또는 `@MethodAutoKotlinSource`) 애너테이션은 JUnit 5의 `@MethodSource`와 AutoParams의 `@AutoSource` 기능을 결합합니다. 이를 사용하여 테스트 데이터를 제공하는 메서드를 지정할 수 있으며, AutoParams는 나머지 매개변수를 자동으로 채웁니다. ```java @@ -145,7 +145,7 @@ companion object { ## `@Repeat` 애너테이션 -[`@Repeat`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/Repeat.html) 애너테이션을 사용하면 테스트를 여러 번 실행할 수 있으며, 각 실행에서 지정되지 않은 매개변수에 대해 새로운 임의 값을 생성할 수 있습니다. +[`@Repeat`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/Repeat.html) 애너테이션을 사용하면 테스트를 여러 번 실행할 수 있으며, 각 실행에서 지정되지 않은 매개변수에 대해 새로운 임의 값을 생성할 수 있습니다. ```java diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/features/resolution-context.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/features/resolution-context.mdx index e56af94..9e30ade 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/features/resolution-context.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/features/resolution-context.mdx @@ -7,7 +7,7 @@ import { JavaKotlinCodeBlock } from '@site/src/components/JavaKotlinCodeBlock'; # `ResolutionContext` 클래스 -[`ResolutionContext`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.0/autoparams/ResolutionContext.html) 클래스는 테스트 데이터를 생성하기 위한 핵심 메커니즘을 제공합니다. AutoParams에서 내부적으로 사용되지만, 필요할 때 직접 테스트 코드에서 인스턴스화하고 사용할 수 있습니다. +[`ResolutionContext`](https://www.javadoc.io/static/io.github.autoparams/autoparams/11.0.1/autoparams/ResolutionContext.html) 클래스는 테스트 데이터를 생성하기 위한 핵심 메커니즘을 제공합니다. AutoParams에서 내부적으로 사용되지만, 필요할 때 직접 테스트 코드에서 인스턴스화하고 사용할 수 있습니다. 다음은 예입니다. From 095cfd3571af8a1bcbbbb1f88f99782b9b5744e7 Mon Sep 17 00:00:00 2001 From: Jinho Yim Date: Fri, 23 May 2025 15:56:53 +0900 Subject: [PATCH 2/3] Change package version to 11.0.1 --- docs/extensions/autoparams-kotlin.mdx | 6 +++--- docs/extensions/autoparams-lombok.mdx | 6 +++--- docs/extensions/autoparams-mockito.mdx | 6 +++--- docs/extensions/autoparams-spring.mdx | 6 +++--- docs/getting-started.mdx | 6 +++--- .../current/extensions/autoparams-kotlin.mdx | 6 +++--- .../current/extensions/autoparams-lombok.mdx | 6 +++--- .../current/extensions/autoparams-mockito.mdx | 6 +++--- .../current/extensions/autoparams-spring.mdx | 6 +++--- .../current/getting-started.mdx | 6 +++--- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/docs/extensions/autoparams-kotlin.mdx b/docs/extensions/autoparams-kotlin.mdx index 0aedc26..b86e4ae 100644 --- a/docs/extensions/autoparams-kotlin.mdx +++ b/docs/extensions/autoparams-kotlin.mdx @@ -18,7 +18,7 @@ For Maven, you can add the following dependency to your `pom.xml`: io.github.autoparams autoparams-kotlin - 11.0.0 + 11.0.1 ``` @@ -27,7 +27,7 @@ For Maven, you can add the following dependency to your `pom.xml`: For Gradle Groovy DSL, use: ```gradle -testImplementation 'io.github.autoparams:autoparams-kotlin:11.0.0' +testImplementation 'io.github.autoparams:autoparams-kotlin:11.0.1' ``` ### Gradle (Kotlin) @@ -35,7 +35,7 @@ testImplementation 'io.github.autoparams:autoparams-kotlin:11.0.0' For Gradle Kotlin DSL, use: ```gradle -testImplementation("io.github.autoparams:autoparams-kotlin:11.0.0") +testImplementation("io.github.autoparams:autoparams-kotlin:11.0.1") ``` ## `@AutoKotlinParams` Annotation diff --git a/docs/extensions/autoparams-lombok.mdx b/docs/extensions/autoparams-lombok.mdx index b560cee..ed86b01 100644 --- a/docs/extensions/autoparams-lombok.mdx +++ b/docs/extensions/autoparams-lombok.mdx @@ -18,7 +18,7 @@ For Maven, you can add the following dependency to your `pom.xml`: io.github.autoparams autoparams-lombok - 11.0.0 + 11.0.1 ``` @@ -27,7 +27,7 @@ For Maven, you can add the following dependency to your `pom.xml`: For Gradle Groovy DSL, use: ```gradle -testImplementation 'io.github.autoparams:autoparams-lombok:11.0.0' +testImplementation 'io.github.autoparams:autoparams-lombok:11.0.1' ``` ### Gradle (Kotlin) @@ -35,7 +35,7 @@ testImplementation 'io.github.autoparams:autoparams-lombok:11.0.0' For Gradle Kotlin DSL, use: ```gradle -testImplementation("io.github.autoparams:autoparams-lombok:11.0.0") +testImplementation("io.github.autoparams:autoparams-lombok:11.0.1") ``` ## `BuilderCustomizer` Class diff --git a/docs/extensions/autoparams-mockito.mdx b/docs/extensions/autoparams-mockito.mdx index c0a8f60..9f6cb09 100644 --- a/docs/extensions/autoparams-mockito.mdx +++ b/docs/extensions/autoparams-mockito.mdx @@ -18,7 +18,7 @@ For Maven, you can add the following dependency to your `pom.xml`: io.github.autoparams autoparams-mockito - 11.0.0 + 11.0.1 ``` @@ -27,7 +27,7 @@ For Maven, you can add the following dependency to your `pom.xml`: For Gradle Groovy DSL, use: ```gradle -testImplementation 'io.github.autoparams:autoparams-mockito:11.0.0' +testImplementation 'io.github.autoparams:autoparams-mockito:11.0.1' ``` ### Gradle (Kotlin) @@ -35,7 +35,7 @@ testImplementation 'io.github.autoparams:autoparams-mockito:11.0.0' For Gradle Kotlin DSL, use: ```gradle -testImplementation("io.github.autoparams:autoparams-mockito:11.0.0") +testImplementation("io.github.autoparams:autoparams-mockito:11.0.1") ``` ## Generating Test Doubles with Mockito diff --git a/docs/extensions/autoparams-spring.mdx b/docs/extensions/autoparams-spring.mdx index 94526eb..9d47876 100644 --- a/docs/extensions/autoparams-spring.mdx +++ b/docs/extensions/autoparams-spring.mdx @@ -26,7 +26,7 @@ For Maven, you can add the following dependency to your pom.xml: io.github.autoparams autoparams-spring - 11.0.0 + 11.0.1 ``` @@ -35,7 +35,7 @@ For Maven, you can add the following dependency to your pom.xml: For Gradle Groovy, use: ```gradle -testImplementation 'io.github.autoparams:autoparams-spring:11.0.0' +testImplementation 'io.github.autoparams:autoparams-spring:11.0.1' ``` ### Gradle (Kotlin) @@ -43,7 +43,7 @@ testImplementation 'io.github.autoparams:autoparams-spring:11.0.0' For Gradle Kotlin, use: ```gradle -testImplementation("io.github.autoparams:autoparams-spring:11.0.0") +testImplementation("io.github.autoparams:autoparams-spring:11.0.1") ``` ## `@UseBeans` Annotation diff --git a/docs/getting-started.mdx b/docs/getting-started.mdx index 6f35afd..e2a3803 100644 --- a/docs/getting-started.mdx +++ b/docs/getting-started.mdx @@ -20,7 +20,7 @@ For Maven, you can add the following dependency to your `pom.xml`: io.github.autoparams autoparams - 11.0.0 + 11.0.1 ``` @@ -29,7 +29,7 @@ For Maven, you can add the following dependency to your `pom.xml`: For Gradle Groovy DSL, use: ```gradle -testImplementation 'io.github.autoparams:autoparams:11.0.0' +testImplementation 'io.github.autoparams:autoparams:11.0.1' ``` ### Gradle (Kotlin) @@ -37,5 +37,5 @@ testImplementation 'io.github.autoparams:autoparams:11.0.0' For Gradle Kotlin DSL, use: ```gradle -testImplementation("io.github.autoparams:autoparams:11.0.0") +testImplementation("io.github.autoparams:autoparams:11.0.1") ``` diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-kotlin.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-kotlin.mdx index 1551b17..49eac83 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-kotlin.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-kotlin.mdx @@ -18,7 +18,7 @@ Maven을 사용한다면, `pom.xml`에 다음 종속성을 추가하세요. io.github.autoparams autoparams-kotlin - 11.0.0 + 11.0.1 ``` @@ -27,7 +27,7 @@ Maven을 사용한다면, `pom.xml`에 다음 종속성을 추가하세요. Gradle Groovy DSL을 사용한다면, `build.gradle`에 다음 종속성을 추가하세요. ```gradle -testImplementation 'io.github.autoparams:autoparams-kotlin:11.0.0' +testImplementation 'io.github.autoparams:autoparams-kotlin:11.0.1' ``` ### Gradle (Kotlin) @@ -35,7 +35,7 @@ testImplementation 'io.github.autoparams:autoparams-kotlin:11.0.0' Gradle Kotlin DSL을 사용한다면, `build.gradle.kts`에 다음 종속성을 추가하세요. ```gradle -testImplementation("io.github.autoparams:autoparams-kotlin:11.0.0") +testImplementation("io.github.autoparams:autoparams-kotlin:11.0.1") ``` ## `@AutoKotlinParams` 애너테이션 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-lombok.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-lombok.mdx index 8566db3..3ff77dc 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-lombok.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-lombok.mdx @@ -18,7 +18,7 @@ Maven을 사용한다면, `pom.xml`에 다음 종속성을 추가하세요. io.github.autoparams autoparams-lombok - 11.0.0 + 11.0.1 ``` @@ -27,7 +27,7 @@ Maven을 사용한다면, `pom.xml`에 다음 종속성을 추가하세요. Gradle Groovy DSL을 사용한다면, `build.gradle`에 다음 종속성을 추가하세요. ```gradle -testImplementation 'io.github.autoparams:autoparams-lombok:11.0.0' +testImplementation 'io.github.autoparams:autoparams-lombok:11.0.1' ``` ### Gradle (Kotlin) @@ -35,7 +35,7 @@ testImplementation 'io.github.autoparams:autoparams-lombok:11.0.0' Gradle Kotlin DSL을 사용한다면, `build.gradle.kts`에 다음 종속성을 추가하세요. ```gradle -testImplementation("io.github.autoparams:autoparams-lombok:11.0.0") +testImplementation("io.github.autoparams:autoparams-lombok:11.0.1") ``` ## `BuilderCustomizer` 클래스 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-mockito.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-mockito.mdx index 171d14f..686a13a 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-mockito.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-mockito.mdx @@ -18,7 +18,7 @@ Maven을 사용한다면, `pom.xml`에 다음 종속성을 추가하세요. io.github.autoparams autoparams-mockito - 11.0.0 + 11.0.1 ``` @@ -27,7 +27,7 @@ Maven을 사용한다면, `pom.xml`에 다음 종속성을 추가하세요. Gradle Groovy DSL을 사용한다면, `build.gradle`에 다음 종속성을 추가하세요. ```gradle -testImplementation 'io.github.autoparams:autoparams-mockito:11.0.0' +testImplementation 'io.github.autoparams:autoparams-mockito:11.0.1' ``` ### Gradle (Kotlin) @@ -35,7 +35,7 @@ testImplementation 'io.github.autoparams:autoparams-mockito:11.0.0' Gradle Kotlin DSL을 사용한다면, `build.gradle.kts`에 다음 종속성을 추가하세요. ```gradle -testImplementation("io.github.autoparams:autoparams-mockito:11.0.0") +testImplementation("io.github.autoparams:autoparams-mockito:11.0.1") ``` ## Mockito로 테스트 더블 생성 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-spring.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-spring.mdx index 511dc18..f20b900 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-spring.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-spring.mdx @@ -26,7 +26,7 @@ Maven을 사용한다면, `pom.xml`에 다음 종속성을 추가하세요. io.github.autoparams autoparams-spring - 11.0.0 + 11.0.1 ``` @@ -35,7 +35,7 @@ Maven을 사용한다면, `pom.xml`에 다음 종속성을 추가하세요. Gradle Groovy DSL을 사용한다면, `build.gradle`에 다음 종속성을 추가하세요. ```gradle -testImplementation 'io.github.autoparams:autoparams-spring:11.0.0' +testImplementation 'io.github.autoparams:autoparams-spring:11.0.1' ``` ### Gradle (Kotlin) @@ -43,7 +43,7 @@ testImplementation 'io.github.autoparams:autoparams-spring:11.0.0' Gradle Kotlin DSL을 사용한다면, `build.gradle.kts`에 다음 종속성을 추가하세요. ```gradle -testImplementation("io.github.autoparams:autoparams-spring:11.0.0") +testImplementation("io.github.autoparams:autoparams-spring:11.0.1") ``` ## `@UseBeans` 애너테이션 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/getting-started.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/getting-started.mdx index e210ab4..f7a7cf4 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/getting-started.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/getting-started.mdx @@ -20,7 +20,7 @@ Maven을 사용한다면, `pom.xml`에 다음 종속성을 추가하세요. io.github.autoparams autoparams - 11.0.0 + 11.0.1 ``` @@ -29,7 +29,7 @@ Maven을 사용한다면, `pom.xml`에 다음 종속성을 추가하세요. Gradle Groovy DSL을 사용한다면, `build.gradle`에 다음 종속성을 추가하세요. ```gradle -testImplementation 'io.github.autoparams:autoparams:11.0.0' +testImplementation 'io.github.autoparams:autoparams:11.0.1' ``` ### Gradle (Kotlin) @@ -37,5 +37,5 @@ testImplementation 'io.github.autoparams:autoparams:11.0.0' Gradle Kotlin DSL을 사용한다면, `build.gradle.kts`에 다음 종속성을 추가하세요. ```gradle -testImplementation("io.github.autoparams:autoparams:11.0.0") +testImplementation("io.github.autoparams:autoparams:11.0.1") ``` From 5eca02acd793023376e097edf4a02342df1d0d00 Mon Sep 17 00:00:00 2001 From: Jinho Yim Date: Fri, 23 May 2025 16:02:00 +0900 Subject: [PATCH 3/3] Add missing Javadoc link --- docs/extensions/autoparams-spring.mdx | 2 +- .../current/extensions/autoparams-spring.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/extensions/autoparams-spring.mdx b/docs/extensions/autoparams-spring.mdx index 9d47876..e176b18 100644 --- a/docs/extensions/autoparams-spring.mdx +++ b/docs/extensions/autoparams-spring.mdx @@ -89,7 +89,7 @@ class HelloSupplier : MessageSupplier { ``` -If you want to test how your `MessageSupplier` bean behaves, you can use the `@UseBeans` annotation like this: +If you want to test how your `MessageSupplier` bean behaves, you can use the [`@UseBeans`](https://javadoc.io/doc/io.github.autoparams/autoparams-spring/latest/autoparams/spring/UseBeans.html) annotation like this: ```java diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-spring.mdx b/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-spring.mdx index f20b900..fba6e68 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-spring.mdx +++ b/i18n/ko/docusaurus-plugin-content-docs/current/extensions/autoparams-spring.mdx @@ -89,7 +89,7 @@ class HelloSupplier : MessageSupplier { ``` -`MessageSupplier` 빈이 어떻게 동작하는지 테스트하려면 다음과 같이 `@UseBeans` 애너테이션을 사용할 수 있습니다. +`MessageSupplier` 빈이 어떻게 동작하는지 테스트하려면 다음과 같이 [`@UseBeans`](https://javadoc.io/doc/io.github.autoparams/autoparams-spring/latest/autoparams/spring/UseBeans.html) 애너테이션을 사용할 수 있습니다. ```java