ContinuousTest / Moose: Here Be Dragons and General Overlay Issues

Has anyone ever come across a Here Be Dragons warning in Mighty Moose / ContinuousTests? enter image description here

This was placed next to a private method, probably because it is closed and therefore not easily verifiable - you may need magic armor to get this testing. Anyway, I also found this in the property adjuster, so I tried to reproduce it. Now I no longer see the test run indicators next to my code.

How can I get them back? What are the conditions for showing? Thanks in advance!

+8
c # continuous-testing mightymoose
source share
2 answers

The reason you see this message is because ContinuousTests counts a lot more than the test coverage when handling. With the fields that you see there, you can get either green, yellow, or red. Green means that modifying this code is pretty safe. Yellow means that there is some risk of changing this part of the code. Red means that if you change this code, you are on your own. There is a good chance that something will break if it is changed. If you hover over an icon, you can see some statistics about the risk. If you right-click and select "ContinuousTests-> Get Affected Graph", you will see a link graph for this piece of code.

When the message “there will be dragons” is displayed, it means that the code you are looking at refers to many places in the code, and no tests seem to be related to it or that it refers to it. Therefore, by changing this code, you run the risk of not only violating this method, but also breaking everything that indirectly uses it.

Hope this explains.

+8
source share

Since no one can explain, I'm going to write this in WTF!?!?! and close it. The support request led to the following, which still leaves me uninformed:

It is red but worse. Basically they appear in what seems like a confusing mess of code without tests through it. If I remember correctly, the graph should have more than 30 odes in it with 0 test coverage, as well as some complexity of the dam-il cycle

Well, it's free ...

+1
source share

All Articles