All the records in the database PERSON table were deleted after each test run.
在每次测试运行之后便删除数据库person表中的所有记录。
Writing a test-cleanup aspect to automatically reset aspects like the one in the example after each test is conceptually simple, but the details are beyond the scope of this article.
编写一个测试清理方面,自动在每次测试后像在例子中那样重新设置方面从概念上来说是简单的,但是其细节超出了本文的范围。
应用推荐