se2p/pynguin: Pynguin v0.8.0
Authors/Creators
- 1. Chair of Software Engineering II, Faculty of Computer Science and Mathematics, University of Passau, Germany
Description
- Breaking: Renamed
RANDOM_SEARCHtoRANDOM_TEST_SUITE_SEARCHto select the random-sampling algorithm based on test suites introduced in Pynguin 0.7.0.
- Improve input generation for collection types.
Add an implementation of tournament selection for the use with DynaMOSA, MOSA, and Whole Suite.
For Whole Suite, on can choose the selection algorithm (either rank or tournament selection) by setting the value of the
--selectionparameter.Add DynaMOSA test-generation algorithm.
It can be selected via
--algorithm DYNAMOSA.Add MIO test-generation algorithm.
It can be selected via
--algorithm MIO.Add a random sampling algorithm based on test cases.
The algorithm is available by setting
--algorithm RANDOM_TEST_CASE_SEARCH. It randomly picks one test case, adds all available fitness functions to it and adds it to the MOSA archive. If the test case is covering one fitness target it is retrieved by the archive. If it covers an already covered target but is shorter than the currently covering test case for that target, it replaces the latter.Fix
OSErrorfrom executors queue.The queue was kept open until the garbage collector delete the object. This caused an
OSErrorbecause it reached the OS's limit of open resource handles.
We now close the queue in the test-case executor manually to mitigate this.Fix
__eq__and__hash__of parameterised statements.Before this, functions such as
foo(a)andbar(a)had been considered equivalent from their equals and hash-code implementation, which only compared the parameters and returns but not the actual function's name.- Fix logging to work properly again.
Files
se2p/pynguin-v0.8.0.zip
Files
(495.9 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:f9a8205ab7fb8be0d7ce0506a187f16e
|
495.9 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/se2p/pynguin/tree/v0.8.0 (URL)