EvoSuite / evosuite

EvoSuite - automated generation of JUnit test suites for Java classes
http://www.evosuite.org
GNU Lesser General Public License v3.0
829 stars 340 forks source link

Symbolic Engine | Simple Objects Support - extended symbolic tracking #425

Closed ilebrero closed 2 years ago

ilebrero commented 2 years ago

Details

First part of the references support for the symbolic engine (without supporting privater fields or sub classes). This PR focuses on extending the symbolic grammar and adding some general structure for the implementation of references in the symbolic engine.

Notes

Future PRs

Main idea

Instances

Enumerate the instances found along the execution. 0 is reserved for null and 1 for Object.

Types

Enumerate types found during execution. 0 is reserved for Object

Constraints

just == or != between references.

Encoding

Test case update

Documentation

Changes

Grammar

Instances

Types

Constraints

Results processing

Test Cases