4 Star 30 Fork 12

automvc/bee-exam

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Bee-exam

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和Exception2Test. 不测试覆盖率时,在Exception2Test注释即可.
Test Coverage: select src/test/java-->(right click)Coverage As-->JUnit Test
在TestNormal里有ClearAndInitTestTable.main(null)用来清空和重新初始化表和数据.
BeeTest
HoneyConfigReset.test(),放在最后.

不是整体测试,可将Exception2Test里的异常测试先关了.
RedisCacheTest,RedisCacheExpireTest应该独立测试一次,因启动后,SPI 服务类不一定能执行.

空文件

简介

Bee-exam is the test and example of ORM framework Bee. 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/automvc/bee-exam.git
git@gitee.com:automvc/bee-exam.git
automvc
bee-exam
bee-exam
master

搜索帮助