khadgarmage opened a new issue #1465: [CI/CD]Add unit test URL: https://github.com/apache/incubator-dolphinscheduler/issues/1465 follow the root issue: #1460 Notice: * The ut coverage is required to reach 60% * UT only use junit and mockito, we worried about license issues after other library is introduced * UT cannot include performance testing operations, blocking operations (time-consuming), and cannot rely on third-party libs. If you want to rely on testing, you can use mockito to mock. The directory listing which will write ut is as following(if you want to contribute, you may reply "java.org.apache.dolphinscheduler.api.utils, i want to implement it, avoid everyone writing UT repeatedly): ``` ├── java │ └── org │ └── apache │ └── dolphinscheduler │ └── api │ ├── ApiApplicationServer.java │ ├── CombinedApplicationServer.java │ ├── configuration │ ├── controller │ ├── dto │ ├── enums │ ├── interceptor │ ├── log │ ├── service │ └── utils ├── java │ └── org │ └── apache │ └── dolphinscheduler │ └── common │ ├── Constants.java │ ├── IStoppable.java │ ├── enums │ ├── graph │ ├── job │ ├── model │ ├── process │ ├── queue │ ├── shell │ ├── task │ ├── thread │ ├── utils │ └── zk ├── java │ └── org │ └── apache │ └── dolphinscheduler │ └── alert │ ├── AlertServer.java │ ├── manager │ ├── runner │ └── utils ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
