Bee-exam is the test and example of ORM framework Bee.
Bee see:
https://github.com/automvc/bee
Honey see:
https://github.com/automvc/honey
Quick Start
1.Config the Database info in bee.properties.
2.Gen the Javabean for your Database, use:
org.teasoft.exam.bee.osql.autogen.GenBeanExam.
3.run the test/example in TestNormal(org.teasoft.exam.bee.test).
if need reset the tables ,use statement: ClearAndInitTestTable.main(null);
other:
TestCache test Bee Cache function.
Test Coverage: select src/test/java-->(right click)Coverage As-->JUnit Test
MainDbTest是各主流DB同时测试(各主要DB都要启动,redis).
TestNormal通用测试,主流DB主要的测试内容.
异常覆盖测试在ExceptionTest和ExceptionTest2. 不测试覆盖率时,在ExceptionTest2注释即可.
Test Coverage: select src/test/java-->(right click)Coverage As-->JUnit Test
在TestNormal里有ClearAndInitTestTable.main(null)用来清空和重新初始化表和数据.
BeeTest
HoneyConfigReset.test(),放在最后.
不是整体测试,可将ExceptionTest2里的异常测试先关了.
RedisCacheTest,RedisCacheExpireTest应该独立测试一次,因启动后,SPI 服务类不一定能执行.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。