Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature: Amplifications location in report #362
During the amplification process, only the number of a-amplifications and i-amplifications is logged.
Do you think it is possible to also note the location of each amplification?
The location could be the line number, of the path in the AST. But I am not sure if it is possible because multiple rounds of amplifications can occur and we would then need to be able to keep the locations up-to-date.
Yes, it is possible to track the position of I-amplification / A-amplification.
In DSpot, there this notion of test parent, i.e. the test on which is amplified to obtain new amplified test. The top parent, is the manual - original test. This relationship can be represented by a tree.
If we walk this tree, we can have all the amplifications applied.
I agree that would be great to have such information.
We started to this by adding some comment on the amplified tests. The problem is that the amplified test became unreadable, and so, comments are, by default, disable.
If we put this information into the json, which is possible I think we can completely remove comments.