JUnit测试不通过
来源:8-7 商品编辑之后端开发上
妖颜惑众惑众妖颜
2019-03-20
2019-03-20 16:19:15.211 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductList - ==> Preparing: SELECT product_id, product_name, product_desc, img_addr, normal_price, promotion_price, priority, create_time, last_edit_time, enable_status, product_category_id, shop_id FROM tb_product ORDER BY priority DESC LIMIT ?,?;
2019-03-20 16:19:15.295 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductList - > Parameters: 0(Integer), 3(Integer)
2019-03-20 16:19:15.335 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductList - < Total: 3
2019-03-20 16:19:15.346 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductCount - ==> Preparing: SELECT count(1) FROM tb_product
2019-03-20 16:19:15.346 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductCount - > Parameters:
2019-03-20 16:19:15.348 [main] DEBUG com.hanting.o2o.dao.ProductDao.queryProductCount - < Total: 1
三月 20, 2019 4:19:15 下午 org.springframework.context.support.GenericApplicationContext doClose
信息: Closing org.springframework.context.support.GenericApplicationContext@2133814f: startup date [Wed Mar 20 16:19:12 CST 2019]; root of context hierarchy
1回答
-
翔仔
2019-03-21
同学好,没看到啥错误信息呀,同学提供下junit 里的failure trace相关的信息,或者可以依据里面信息的错误信息,百度下试试,提前锻炼下解决问题的能力
022019-05-10
相似问题