tronprotocol / java-tron

Java implementation of the Tron whitepaper
GNU Lesser General Public License v3.0
3.64k stars 1.36k forks source link

Improve code coverage to 70% #5434

Open forfreeday opened 10 months ago

forfreeday commented 10 months ago

Rationale

Why should this feature exist?

To improve the test case coverage of your code, cover as much as possible.

Implementation

database

api

net

Are you willing to implement this feature? Yes, I would like to complete these use cases and would like to have more people participate in them.

ss334452 commented 10 months ago

@forfreeday This is a good idea, it is really necessary to increase the unit test rate to avoid introducing bugs.

forfreeday commented 10 months ago

@wubin01

Yes, this will be ongoing, with 70% coverage in the first phase

forfreeday commented 4 months ago

Current coverage: 66.48%. Continuously adding test cases, expected to reach 70% coverage in June.

forfreeday commented 4 months ago

Current coverage status:

forfreeday commented 2 months ago

Current coverage status:

lxcmyf commented 3 days ago

Current coverage status:

Subsequently, we will focus on enhancing and increasing the unit test coverage of the framework、common and consensus module.