Skip to main content
Merged

Make unit tests themselves a part of the review process

Related products:Software Factory

When you have created / adjusted functionality and as a consequence also created a unit test, the functionality can be send to the review process. Also, you can see the (results of) the linked unit tests.

At the moment, the unit test itself is not a part of the review process. To improve quality, I suggest to make unit tests be part of the review process.

Did this topic help you find an answer to your question?

4 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Jeroen,

I miss the preferred solution, how would you like this to work inside the Review process? Like, that approving the Review cannot be done until the Unit tests are successful? How would the Code review process should handle Control procedures that do not have or cannot have Unit tests, such as Views?

Looking forward to your suggestions ðŸ˜„


Forum|alt.badge.img+1
  • Author
  • Thinkwise blogger
  • 7 replies
  • January 16, 2023

Hi Mark, thank you for your quick response. The fact that a unit test has a successful result does not mean that the unit test is correct. I have seen some unit tests always resulting in a success, even when the functionality was functionally wrong. There needs to be a second opinion on unit tests as well, just like the functionality needs a second opinion.


Mark Jongeling
Administrator
Forum|alt.badge.img+23

We do have the Unit tests detail part of the Code review screen but not strictly part of the Review process. The badge indicates the number of Unit tests present.

Code review screen

I do feel the Review process should be a process supported by the development team. If the team decides Unit tests should be double checked as part of the Review, then this detail tabpage can help them out. 

I'll discuss with my colleagues to see if we want to make Unit tests a true part of the Code review process.


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
Updated idea statusNew→Duplicate
Idea merged into:

All the votes from this idea have been transferred.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings