Challenge 13: In JUnit5, Which of the below class does not implement MethodOrderer Interface?

#LambdaTestCodingChallenge #CodeFestApr2022

1 Like

https://d1bf7xm2ot2gjt.cloudfront.net/original/2X/d/d385111625f0a100266fd9e5b1d4f18b6c9562aa.jpeg?utm_source=lambdatest-community

option: c.

1 Like

The Correct Answer is :OrderNumber. MethodOrdered is a Interface in JUnit 5 and it have below implementation classes.

  • MethodOrderer.MethodName

  • MethodOrderer.DisplayName

  • MethodOrderer.OrderAnnotation

  • MethodOrderer.Random

Refer here for JUnit5 MethodOrderer Interface.

1 Like