databendlabs / openraft

rust raft with improvements
Apache License 2.0
1.41k stars 158 forks source link

Refactor: use test_harness to build unittest harness #1189

Closed drmingdrmer closed 4 months ago

drmingdrmer commented 4 months ago

Changelog

Refactor: use test_harness to build unittest harness

#[test_harness::test(harness = func)] builds the harness for test function in a more structural way.


This change is Reviewable