5

In the ApacheDS documentation about embedding an ApacheDS server in Junit test they only mentions example for Junit4 using

@RunWith(FrameworkRunner.class)

or

@ClassRule
public static CreateLdapServerRule serverRule = new CreateLdapServerRule();

But RunWith and ClassRule are not available in Junit5.

How can I run Junit5 tests with an embedded ApacheDS LdapServer ?

Fabich
  • 2,768
  • 3
  • 30
  • 44

0 Answers0