博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
springboot 测试类
阅读量:7258 次
发布时间:2019-06-29

本文共 386 字,大约阅读时间需要 1 分钟。

import org.junit.runner.RunWith;

import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@Runwith(SpringRunner.class)

@SpringBootTest(classes=Application.class)

public class springBootTest{

  @Test

  public void test(){

    System.err.println("springboot test!!");

  }

}

转载于:https://www.cnblogs.com/lxsxsy/p/9054505.html

你可能感兴趣的文章
MySQL系列(四)
查看>>
C语言文件操作函数大全(超详细)
查看>>
sql语句
查看>>
log4j配置
查看>>
安装程序无法创建新的系统分区
查看>>
配置DNS服务器
查看>>
lock(3)——更新锁(U)、排它锁(X)、死锁及如何避免死锁
查看>>
使用SignalR 2 注意事项
查看>>
多进程 (一) — 像线程一样管理进程
查看>>
node+vue报错合辑
查看>>
Date——js 获取当前日期到之后一个月30天的日期区间
查看>>
RT-SA-2019-003 Cisco RV320 Unauthenticated Configuration Export
查看>>
Java线程练习
查看>>
Algs4-1.5.22Erods-renyi模型的倍率实验
查看>>
计算机硬件的组成、python的开发层面及语法介绍
查看>>
python面试知识点
查看>>
栅格布局
查看>>
Zimber 8.8.12卸载后重新安装报错解决办法
查看>>
Git 自救指南
查看>>
spring boot配置项目访问路径,配置拦截器,配置静态虚拟路径
查看>>