Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record test suit evolution #851

Open
andrewbwogi opened this issue Jul 31, 2019 · 2 comments
Open

Record test suit evolution #851

andrewbwogi opened this issue Jul 31, 2019 · 2 comments

Comments

@andrewbwogi
Copy link
Contributor

Characteristics

Description

In discussions by @bbaudry and @monperrus there is an idea about creating a program that would record the evolution of a test suite. The program would run in the background of the recorded application, for instance as a maven plugin, and collect data such as:

  • In response to what program changes are tests added?
  • What is the state of the project when a particular kind of test is added?
  • How does the test suite grow in relation to itself?
  • How does each test perform over time as the program matures?

This data could serve as a heuristic for how tests can be automatically amplified or perhaps used by DSpot for more directed input modification and assertion generation.

@danglotb
Copy link
Member

danglotb commented Aug 1, 2019

Hello @andrewbwogi

Looks great, but concretely, what are the data collected? The test code diffs between version?

Questions:

  • How can we classify the program changes?
  • What do you mean by state of the project?
  • What does perform means?

What could be also interesting is to collect:

  1. the inputs data, i.e. literals, objects and method call used.
  2. the state of the program at different step: at the initialization, after methods call, etc.

For this, we can reuse the code in ObjectLog and adapt a bit the Instrumentation done by DSpot.

@danglotb
Copy link
Member

danglotb commented Aug 1, 2019

Another kind of Test Evolution:Understanding myths and realities of test-suite evolution

And the tool developed: TestEvol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants