mabdi / small-amp

Test Amplification for Pharo
MIT License
5 stars 4 forks source link

Image is not responding in mutation testing #103

Open mabdi opened 3 years ago

mabdi commented 3 years ago

This mutation in PMMatrix class (PolyMath) makes the image not responding:

Removing ^ in this method:

species
    ^ PMMatrix 
mabdi commented 3 years ago

The reason is maybe an infinitive loop. We must run all test executions (which is an unsafe code) in a process with lower priority.

p := [PMMatrixTest buildSuite run] newProcess
        name: 'smallamp unsafe';
        priority: Processor userBackgroundPriority.
p resume.
10 seconds wait.
p isTerminated ifFalse: [p terminate].