There is a newer version of the record available.

Published April 26, 2021 | Version v0.8.0
Software Open

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_SEARCH to RANDOM_TEST_SUITE_SEARCH to 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 --selection parameter.

  • 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 OSError from executors queue.

    The queue was kept open until the garbage collector delete the object. This caused an OSError because 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) and bar(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