halo icon indicating copy to clipboard operation
halo copied to clipboard

提供单元测试规范

Open ruibaby opened this issue 3 years ago • 2 comments

你当前使用的版本

1.5.0-alpha.2

描述一下此特性

  1. 2.0 需要规范单元测试。
  2. 确定单元测试框架。
  3. 提供基础的 service util controller 等的示例。
  4. 提供 code coverage 统计。

/cc @halo-dev/sig-halo

附加信息

No response

ruibaby avatar Mar 07 '22 10:03 ruibaby

References:

  • https://docs.spring.io/spring-boot/docs/2.7.0-M1/reference/html/howto.html#howto.testing

JohnNiang avatar Mar 07 '22 10:03 JohnNiang

Please refer to https://github.com/halo-dev/halo/tree/next/src/test/java/run/halo/app

JohnNiang avatar Jul 21 '22 09:07 JohnNiang

Please refer to https://github.com/halo-dev/halo/tree/next/src/test/java/run/halo/app

/close

ruibaby avatar Oct 16 '22 10:10 ruibaby

@ruibaby: Closing this issue.

In response to this:

Please refer to https://github.com/halo-dev/halo/tree/next/src/test/java/run/halo/app

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

f2c-ci-robot[bot] avatar Oct 16 '22 10:10 f2c-ci-robot[bot]