如何在执行junit时自动生成序列图 [英] How to generate sequence diagrams automatically on executing junit

查看:94
本文介绍了如何在执行junit时自动生成序列图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在eclipse中,我承担了在执行junit/test case时自动生成序列图"的任务.我正在学习UML.我发现了可以生成序列的工具,并且我知道junit,但是我如何将两者结合起来.

I have been given a task of "generate sequence diagrams automatically on execution of junit/test case" in eclipse. I am learning UML. I found tools that can generate a sequence, and I am aware of junit, but how do I club this both.

我发现很好的工具是UMLet,ModelGoon UML,对象辅助.但是我对ModelGoon归零了.我发现它简单易用.如何自动执行此任务,如果可以,请指导我.

The tools that I found good were UMLet,ModelGoon UML, Object Aid. But I zeroed in on ModelGoon. I found that simple and easy to use. How do I automate this task, if so please guide me.

如果还有其他可用的工具,请指导我.

If there are any-other tools that are available then guide me.

推荐答案

首先:这是一个非常好的主意,有几种解决方法.我将假设您使用的是jvm语言(例如Kotlin或Java),因此我将提出的建议对此有偏见.

First: This is a very good idea, and there are several ways to go about it. I will make the assumption that you are working in a jvm language (e.g. Kotlin or Java) so the suggestions I will make are biased by that.

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆