revised the Java tutorial#675
Conversation
Deploying docs with
|
| Latest commit: |
d50a8ad
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8a3e731e.docs-c7r.pages.dev |
| Branch Preview URL: | https://issue-372-java-integration.docs-c7r.pages.dev |
| }; | ||
| } | ||
|
|
||
| @Test |
There was a problem hiding this comment.
why did you remove this part?
lines 131-134
There was a problem hiding this comment.
I have asked Claude, and he said:
Honest answer: I trimmed it on purpose, to avoid repetition — the plain (non-parameterized) @test case was already shown in the JUnit example right above, and it imports identically regardless of framework. So I kept only the part that's different about TestNG (the @dataProvider parameterization) and cut the duplicate.
But that was my editorial call, and it created an inconsistency you're right to flag: JUnit shows both a parameterized and a plain test, TestNG shows only the parameterized one. That asymmetry looks like something got lost — which is exactly how it read to you.Honest answer: I trimmed it on purpose, to avoid repetition — the plain (non-parameterized) @test case was already shown in the JUnit example right above, and it imports identically regardless of framework. So I kept only the part that's different about TestNG (the @dataProvider parameterization) and cut the duplicate.
But that was my editorial call, and it created an inconsistency you're right to flag: JUnit shows both a parameterized and a plain test, TestNG shows only the parameterized one. That asymmetry looks like something got lost — which is exactly how it read to you.
I will put this information back.
Thank you for the attention <3
Revised the Java tutorial, added diagrams and screenshots
https://docs.testomat.io/tutorials/java/