Sequence diagrams are generated dynamically based on the execution of the JUnit tests. Add the parameter 'test=...' to specify the test, which is used to provide the execution environment to trace method calls and generate the resulting sequence diagram. The JUnit test is started with an instance of the Java debugger to record all method calls starting with the method for which the sequence diagram shall be generated.