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

FEATURE: Budgetize Input amplification #471

Open danglotb opened 6 years ago

danglotb commented 6 years ago

Characteristics

Description

Create a budget for the Input Amplification. Among the list of amplifiers, each of them gains a given amount of budget, e.g. a number of methods to produce. Then, we limit the input amplification according to this budget.

This aims at keeping diversity without wasting resources. In fact, each amplifier will produce the same amount of test methods that allows exploring each different path (path in a sense of exploration path, in the exploration space).

a side feature is:

Help is welcome

danglotb commented 6 years ago

The budget implemented in #477 does not answer to this issue but implement another way.

For now, the SimpleBudgetizer selects a fair number for each Amplifier and each test methods to be amplified. The time consumption seems to be ok for now.