摘要
注解(Annotation)在广泛应用于企业级的Java框架中,注解并不影响代码的语义,但能为系统或容器提供大量的信息,使企业级的应用配置变得更加简洁。文章对如何利用Java的Annotation特性来实现单元测试自动化进行了探讨与实践。
Annotation is widely used in enterprise--level Java framework, the annotation does not affect the semantics of the code, but the system can provide a lot of information or containers so that enterprise--level application configuration becomes more compact. This paper explore and practice, how to use Java, Annotation features to achieve automation of unit tests.
出处
《计算机与数字工程》
2010年第1期99-102,共4页
Computer & Digital Engineering
基金
湖南省教育厅科研基金项目(编号:08D031)资助