Hello, everyone!

I'm dealing with the problem of *incorrect unit test coverage in the API
module*.

First, I want to ask if anyone has encountered this problem or have any
suggestions?

[image: image.png]

In addition, my thoughts on this problem are as follows:

1. First of all, we should find out the cause of this problem. It is
preliminarily speculated that this problem is caused by the *@PrepareForTest
annotation of Powermock*.

2. When the cause of the problem is accurately identified, I'll fix it.

3. In addition, I will further write a complete and detailed *document for
the unit test of the API module* to remind developers what problems should
be paid attention to when writing unit test codes.

Look forward to your suggestions!

Reply via email to