# bee-exam **Repository Path**: automvc/bee-exam ## Basic Information - **Project Name**: bee-exam - **Description**: Bee-exam is the test and example of ORM framework Bee. - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 30 - **Forks**: 12 - **Created**: 2020-02-28 - **Last Updated**: 2025-08-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: ORM, DAO, bee, MyBatis, Hibernate ## 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 服务类不一定能执行.