To optimize the soul test class
Hi all guys
Over the past month,The community has done a lot of work on test cases. now, we shoud optimize the soul test class.
optimize rules:
- assertEquals() must be Modified to assertThat()
- must use inline import static class in test case , just like
import static org.mockito.Mockito.mock;,import static org.junit.Assert.assertTrue; - Delete unnecessary blank lines
- Optimize the java doc
- There should be no obvious yellow warning of IDEA
- remove final variable Inside the method
- use constants for all string variables
- English words should be expressed clearly. for example :
setUpmaybe tosetup - all test class maybe add final modifier
Task List :
- [ ] soul-admin @Trafalgar-YuI
- [x] soul-boostrap @sccauxupei
- [x] soul-client @HoldDie
- [ ] soul-common @magicalxiaochen
- [x] soul-metrics @xxl115
- [ ] soul-plugin @Redick01
- [ ] soul-spi @abysscat-yj
- [ ] soul-spring-boot-starter @strawberry-crisis
- [x] soul-sync-data-center @vinceDa
- [ ] soul-web @FocusZhouGD
get soul-admin
get soul-common
get soul-client
assign soul-spring-boot-starter to me plz
get soul-spi
get soul-sync-data-center
get soul-web
get soul-plugin
soul-metrics
get soul-boostrap
get soul-boostrap
?
?
看岔了 我删了
?
看岔了 我删了
If u still wanna do it, we can optimize the soul test class in soul-sync-data-center together, I can do the first 2 model http and nacos, the rest two is yours.
?
看岔了 我删了
If u still wanna do it, we can optimize the soul test class in soul-sync-data-center together, I can do the first 2 model
httpandnacos, the rest two is yours.
NoNoNo, it's yours, my bad; i can do this next time, thank you!