junit
应用junit单元测试组件技术实现对项目中的数据库连接组件类程序的测试实例
eption { ()。 connectDBBean=new ConnectDBBean()。 } protected void tearDown() throws Exception { connectDBBean=null。 ()。 } public void testGetConnection() throws WebBBSException { Connection
junit免费课程
Null, assertNotNull, assertTrue, assertFalse – fail – assertThat • 自定义出错信息的断言 2020/11/23 第三课 Junit 中的基本注解 • 基本注解 – Test – Before – BeforeClass – After – Afte