使用junit测试

junit

导包

	<dependency>
           <groupId>junit</groupId>
           <artifactId>junit</artifactId>
           <version>3.8.2</version>
           <scope>test</scope>
       </dependency>

@Test注解(只能用在方法上)

image

posted @ 2022-01-07 18:48  小罗要有出息  阅读(22)  评论(0编辑  收藏  举报