How can I call the method with annotation? #3421
Replies: 3 comments
-
This question misses important details. What shall happen when you add two of these annotations to one method? It is also unclear to me what you want to know exactly. As this annotation is not provided by JUnit, JUnit is also not responsible for it. Is this question about how to define annotations in Java, or is JUnit somehow relevant for this question? PS: The code blocks in your question are also not properly formatted. |
Beta Was this translation helpful? Give feedback.
-
I've edited your comment to improve the formatting. You might want to check out this Mastering Markdown guide for future reference. |
Beta Was this translation helpful? Give feedback.
-
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use the "discussions" feature of GitHub only for discussions pertaining to JUnit 5. Feel free to update this discussion with a link to the re-posted question (so that other people can find it). |
Beta Was this translation helpful? Give feedback.
-
Suppose I have an annotation:
Now I annotate several test methods with
@AppUser
, like:So now can I merge them into one, like:
or
so everything could be simplify?
Beta Was this translation helpful? Give feedback.
All reactions