The JSeqUnit framework is based on the idea to use test cases as documentation.

Architecture and design documents often contain sequence diagrams to visualize and describe central functions of the software. JSeqUnit allows generating sequence diagrams as traces from JUnit test runs. The diagrams can be configured and integrated in JavaDoc.

The following image shows an example sequence diagram generated by tracing SequenceTaglet itself that produces the sequence diagrams and links them into the JavaDoc documentation: