Add junit5 test code for module [linkis-storage-script-dev-server]
- Dominant language
- Java
- Stars
- 3.4k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
### Add junit5 test code for module [linkis-storage-script-dev-server]
- Module: linkis-storage-script-dev-server
- Location:linkis-public-enhancements/linkis-storage-script-dev-server
- 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-storage-script-dev-server
- 代码位置:linkis-public-enhancements/linkis-storage-script-dev-server
- 任务状态:✗(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.filesystem.conf.WorkSpaceConfiguration| config | normal | |
| ✗ |org.apache.linkis.filesystem.constant.WorkSpaceConstants| Constants | normal | |
| ✗ |org.apache.linkis.filesystem.exception.*| exception | normal | |
| ✗ |org.apache.linkis.filesystem.restful.api.*| api | normal | |
| ✗ |org.apache.linkis.filesystem.util.WorkspaceUtil| utils | normal | |
| ✗ |org.apache.linkis.filesystem.bml.BMLHelper| bean| normal | |
| ✗ |org.apache.linkis.filesystem.conf.WorkspaceSpringConfiguration| utils | normal | |
| ✗ |org.apache.linkis.filesystem.quartz.FSQuartz| Quartz | normal | |
| ✗ |org.apache.linkis.filesystem.service.FsService| service | normal | |
| ✗ |org.apache.linkis.filesystem.validator.PathValidator| Validator | normal | |
Contributor guide
Research direction
Read the unit-test guide and the example under linkis-public-enhancements/linkis-publicservice/linkis-jobhistory/src/test, then inspect linkis-public-enhancements/linkis-storage-script-dev-server. Cover the listed configuration, exception, REST API, utility, BML, Quartz, service, and validator classes with JUnit 5 tests; done means every 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
- 35/100