How can I setup an embedded ApacheDS in Junit5

Viewed 120

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 ?

0 Answers
Related