Add junit5 test code for module [engineconn-plugins/jdbc]
- Dominant language
- Java
- Stars
- 3.4k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
### Add junit5 test code for module [engineconn-plugins/jdbc]
- Module: linkis-engineplugin-jdbc
- Location:linkis-engineconn-plugins/linkis-engineplugin-jdbc
- Task status:✗(unfinished)/ ✓(finished)
- Test code guide:https://linkis.apache.org/zh-CN/community/how-to-write-unit-test-code/
- Test code example: https://github.com/apache/incubator-linkis/tree/master/linkis-public-enhancements/linkis-publicservice/linkis-jobhistory/src/test
--
- 模块名: linkis-engineplugin-jdbc
- 代码位置:linkis-engineconn-plugins/linkis-engineplugin-jdbc
- 任务状态:✗(unfinished)/ ✓(finished)
- 单测编写指引:https://linkis.apache.org/zh-CN/community/how-to-write-unit-test-code/
- 参考样例: https://github.com/apache/incubator-linkis/tree/master/linkis-public-enhancements/linkis-publicservice/linkis-jobhistory/src/test
| Task status| Class | Type| Level of Difficulty | Note |
| :------ | :------ | :------: | :------: | :------: |
| ✗ |org.apache.linkis.manager.engineplugin.jdbc.constant.JDBCEngineConnConstant| Constant | normal | |
| ✗ |org.apache.linkis.manager.engineplugin.jdbc.ConnectionManager| Connection| normal | |
| ✗ |org.apache.linkis.manager.engineplugin.jdbc.JdbcAuthType| enum| normal | |
| ✗ |org.apache.linkis.manager.engineplugin.jdbc.JDBCPropertiesParser| parser| normal | |
| ✗ |org.apache.linkis.manager.engineplugin.jdbc.exception.JDBCParamsIllegalException| Exception| normal | |
| ✗ |org.apache.linkis.manager.engineplugin.jdbc.executer.JDBCEngineConnExecutor| Executor| normal | |
| ✗ |org.apache.linkis.manager.engineplugin.jdbc.executer.JDBCHelper| Helper| normal | |
| ✗ |org.apache.linkis.manager.engineplugin.jdbc.executer.JDBCMultiDatasourceParser| Parser| normal | |
| ✗ |org.apache.linkis.manager.engineplugin.jdbc.executer.JDBCSQLCodeParser| Parser| normal | |
Contributor guide
Research direction
Start in linkis-engineconn-plugins/linkis-engineplugin-jdbc and review the listed JDBC classes, using the unit-test guide and the linkis-jobhistory test directory as references. Add JUnit 5 test coverage for the nine classes in the task table, and consider the work done when each table entry is marked finished.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100