STAMP-project / dspot

Automatically detect and generate missing assertions for Junit test cases (also known as test amplification)
https://dspot-demo.stamp-project.eu/
GNU Lesser General Public License v3.0
114 stars 28 forks source link

Generation of assertions fails inside a loop #382

Open danglotb opened 6 years ago

danglotb commented 6 years ago

When DSpot generates values inside a loop, it considers only the first iteration to collect values.

danglotb commented 6 years ago

Actions to generate assertions on values that use the iterable in the loop, e.g. the i in a fori loop:

danglotb commented 6 years ago

For now, we discard this case #383 in order to have functional A-amplification.