Skip to content
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

The example code in the document contains an fault. #1076

Open
jaceshim opened this issue Nov 4, 2024 · 1 comment
Open

The example code in the document contains an fault. #1076

jaceshim opened this issue Nov 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jaceshim
Copy link

jaceshim commented Nov 4, 2024

Describe the bug

fault link
https://naver.github.io/fixture-monkey/v1-0-0/docs/generating-objects/fixture-monkey/

There is a fault in the current document where the code does not match the latest release version. (kotlin)

Fault Code

val fixtureMonkey = FixtureMonkey
  .plugin(KotlinPlugin())
  .build()

Correct Code

val fixtureMonkey = FixtureMonkey.builder()
    .build()

or 

val fixtureMonkey = FixtureMonkey.builder()
    .plugin(KotlinPlugin())
    .build()

Your environment

  • fixture monkey : 1.0.2
  • kotlin : 2.0.0

Steps to reproduce

Tell us how to reproduce this issue.
Or provide us an example repository to check the bug
It would be very helpful if you could tell us the seed of the given test, which is provided in fixture-monkey-junit-jupiter module

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Best Regards

@jaceshim jaceshim added the bug Something isn't working label Nov 4, 2024
@seongahjo
Copy link
Contributor

@jaceshim
Hello, thank you for reporting an issue.

Can you make a PR to address this issue if you have room?

You can address the issue by changing the contents of the below file.
/docs/generating-objects/fixture-monkey.md

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants