Skip to content

Releases: STAMP-project/dspot

dspot-3.2.0

16 Nov 10:59
Compare
Choose a tag to compare

New features

  • Add merge api to merge two coverage together. (PR: #1001)
  • Add more apis for CloverExecutor. (PR: #997)
  • Can now run clover on a specific tests list. (PR: #984)
  • Remove modified test methods from the selected ones. (PR: #982)
  • Enhanced Diff Test Selection. (PR: #981)
  • Add option to only perform input amplification. (PR: #948)
  • Add DSpot-web v2 in Perl. (PR: #913)
  • Dev friendly amp improvements and windows support. (PR: #1004)
  • Gradle7 java11+ Support. (PR: #1003)
  • Developer-Oriented Amplification for the Test Cube Plugin. (PR: #993)
  • Add full support for Java 11. (PR: #973)
  • Improve json report of coverage selector and comments generated during assertion. (PR: #956)

Bug Fixes

  • Use concurrent map and synchonized methods. (PR: #992)
  • Remove the entry of a test class if its list is empty. (PR: #983)
  • Pit minimizer on generated assertion try/catch. (PR: #951)
  • Fix nullpointer exception when reporting with TakeAllSelector. (PR: #947)
  • Fix default maven test. (PR: #943)

Documentation

  • prettifier: Instructions & configuration options. (PR: #950)
  • Update the documentation with updated options from DSpot. (PR: #996)
  • Update README.
  • Remove irrelevant TBD.
  • Add link to DSpot IntelliJ plugin. (PR: #957)
  • Update bibliographic info. (PR: #945)
  • Update RAEDME of dspot-web mojo. (PR: #941)
  • Add link to demo site. (PR: #940)
  • Expand the tutorial. (PR: #936)
  • Mention the scientific article in the README. (PR: #938)
  • Update badges on the README.
  • Update README.md.

Tests

  • Remove test that breaks CI for bad reasons. (PR: #985)
  • Unit testing for diff-test-selection. (PR: #980)
  • Change default logging level in CI.
  • Ignore all the tests that use gradle. (PR: #955)
  • Update Gradle Automatic Builder. (PR: #954)
  • Exclude test depending on python from default "mvn test". (PR: #944)
  • Update expected values according to the new version of spoon. (PR: #942)

Continuous Integration

  • Replace coveralls by codecov. (PR: #999)
  • Compute maven home using mvn --version. (PR: #998)
  • Remove on push github actions. (PR: #990)
  • Repo token in github action for coveralls. (PR: #989)
  • Move from travis to github actions. (PR: #988)
  • Add --quiet command line option to pip install preventing too much logs. (PR: #949)
  • Update mvn-build-dspot-action.yml.

Refactoring

  • Coverage map into dedicated classes. (PR: #986)
  • Remove dependency to unsupported library log4j 1.2. (PR: #974)

Other

  • Bump spoon version. (PR: #886)
  • Install bottlneck using pip3, that is required by dspot-prettifier. (PR: #937)
  • deps-dev: Bump junit from 4.12 to 4.13.1 in /dspot/src/test/resources/mockito. (PR: #966)
  • Bump jacoco for Java 11. (PR: #952)
  • Bump test-runner to 3.0.0. (PR: #1000)
  • Bump the version of openclover to support JUnit5 tests. (PR: #976)
  • Skip parametrized for selection. (PR: #978)
  • Skip jacoco, animal sniffer and rat checks when running openclover. (PR: #977)

Authors

Name Nb Commit
Benjamin DANGLOT 25
Martin Monperrus 14
Caro 9
Boris Baldassari 2
Alexander 1
andrewbwogi 1
dependabot[bot] 1

dspot-3.1.0

10 Dec 13:16
Compare
Choose a tag to compare

New features

  • Support deprecated assertions class of junit3. (PR: #926)

Bug Fixes

  • Run example from jar FIX #919. (PR: #934)
  • Add a default value for --pit-filter-classes-to-keep command line option. (PR: #929)
  • Fix is collection object log. (PR: #927)
  • Default value for test methods command line option. (PR: #925)
  • Use now imports and not qualified name in DSpotUtilsTest. (PR: #924)

Documentation

  • Update string amplification with corner cases Fix #920.

Tests

  • Relax expected properties. (PR: #935)

Refactoring

  • Organize packages to reflect the algorithm. (PR: #933)
  • Main, DSpot and Amplification. (PR: #930)

Authors

Name Nb Commit
Benjamin DANGLOT 8
andrewbwogi 2

dspot-3.0.0

18 Nov 21:10
Compare
Choose a tag to compare

New features

  • Output now the original test class with original test method that have been successfully amplified.
  • Keep descartes intermediate reports.
  • Generate maven plugin.

Bug Fixes

  • Amplification of wrapper objects set to null.
  • Fix #902, devil pushed back.

Documentation

  • Improve the example in the first tutorial.
  • Update README with new command line options.

Tests

  • Fix test of dspot-prettifier.
  • Fix dependencies between tests.
  • Unignore Context2NameTest FIX #876.

Refactoring

  • Update dspot-prettifier with new version of DSpot.
  • The test compiler is no longer static.
  • The test runner is no longer static.
  • Remove properties and singleton InputConfiguration FIX #826.
  • Extract some statements outside of DSpot object.

Authors

Name Nb Commit
Benjamin DANGLOT 12
andrewbwogi 1
Daniele Gagliardi 1
Martin Monperrus 1

dspot-2.2.1

03 Oct 09:10
Compare
Choose a tag to compare

New features

  • Add amplification for arrays Fix #842.
  • Can now specify the targetted module from command line of dspot-maven.

Bug Fixes

  • Remove generated pom at the end of the process.
  • Fixed typo.
  • Fixed wrong links to screenshots.
  • Update docker image.
  • Auto-import and example FIX #262.
  • Selection of the module. Can now run from the module or the root.

Documentation

  • Fix the warning message for old name of amplifiers. FIX #890.

Refactoring

  • Rename the test class before amplification when --generate-….
  • Rename budgetizer into inputAmplDistributor.
  • Extract code from DSpot to create TestFinder object.

Unknown

  • Replaced screenshots taken from local instance with screenshots taken from live demo prototype at KTH.

Authors

Name Nb Commit
Benjamin DANGLOT 8
Daniele Gagliardi 3
andrewbwogi 1
Tailp 1

dspot-2.2.0

17 Sep 10:50
Compare
Choose a tag to compare

New features

  • Web interface for DSpot.
  • Dockerized dspot execution behind corporate proxy.
  • Add more JSAPOptions , restful mode for web + test.
  • Add support for variable naming with Context2Name.
  • Initial implementation of MongodbManager.
  • Add support for pushing the amplification results in a MongoDB database.
  • Add SMTP support.
  • Add dspot-pipeline dockerimage (#840).
  • Feat command line to specify classpath.
  • New command line option to target all modules.
  • Generate assertions for primitive arrays.
  • Assert asserted values.
  • Do not generate assertions for hashCode of java.net.URI.

Bug Fixes

  • Ci on catalog and update options.
  • Update Dspot image for website.
  • Various bugfixes update for website.
  • Uses now the system decimal separator in expected values.
  • Being public and having a visible not null is not longer required.
  • Checking that there is at least one test to amplify.
  • Make FastLiteralAmplifier retro-compatible with the input TestDataMutator for now.
  • Excluded classes when no test are specified.
  • Detection(filtering out) of @ignored (JUnit4) or @disabled (JUnit5) test suites before proceeding with amplification.
  • Infer from the name of local variable that it come from previous amplification.
  • Typos in python script for pipeline and publisher.
  • Remove debug logs.
  • Use the correct output path command line option.
  • Do not add type cast in case of primitive types.
  • Detect now correctly the targeted module.
  • Concurrent modification for dhell junit5.
  • Check not null in is string.
  • Remove assertion lambda no body.
  • Filter the test classes according to recorded keys inside the map.
  • Fix #794.
  • Generation of diff.

Documentation

  • Fill the missing elements to resolve javadoc errors.
  • Update readme for dspot-web.
  • Fix doc issue.

Tests

  • Reset in the setUp and use the super setUp.

Continuous Integration

  • Set quiet to the deploy script.

Refactoring

  • Assertiongenerator.
  • Methodadd methodgen amplifiers FIX #844.
  • Rename TestDataMutator to FastLiteralAmplifier.
  • Remove filter on the fly.
  • Inputs management FIX #798.

Performance

  • Optimization#7 Parallel execution of JUnit 4/5 tests.

Other

  • Configure clean to remove some compiles classes in test resources.
  • Ignore generated pom by dspot in test resources.

Unknown

  • Bump test-runner version to 2.1.1.
  • Assert reference type arrays.

Authors

Name Nb Commit
Benjamin DANGLOT 31
Tailp 9
andrewbwogi 3
Daniele Gagliardi 2
Jesús Gorroñogoitia Cruz 2
Jian GU 1
Oscar Luis Vera Pérez 1
olibou6 1

dspot-2.1.1

09 Jul 12:18
Compare
Choose a tag to compare

New features

  • Generate assertions for primitive arrays.
  • Assert reference type arrays.
  • Assert asserted values.
  • Do not generate assertions for hashCode of java.net.URI.

Bug Fixes

  • Concurrent modification for dhell junit5.
  • Infer from the name of local variable that it come from previous amplification.
  • Remove debug logs.
  • Use the correct output path command line option.
  • Do not add type cast in case of primitive types.
  • Detect now correctly the targeted module.
  • Ci on catalog and update options.
  • Check not null in is string.
  • Remove assertion lambda no body.
  • Filter the test classes according to recorded keys inside the map.
  • Fix #794.
  • Generation of diff.

Documentation

  • Fix doc issue.

Tests

  • Reset in the setUp and use the super setUp.

Continuous Integration

  • Set quiet to the deploy script.

Refactoring

  • Remove filter on the fly.
  • Inputs management FIX #798.

Performance

  • Optimization#7 Parallel execution of JUnit 4/5 tests.

Other

  • Configure clean to remove some compiles classes in test resources.
  • Ignore generated pom by dspot in test resources.

Unknown

  • Bump test-runner version to 2.1.1.

Authors

Name Nb Commit
Benjamin DANGLOT 22
andrewbwogi 2
olibou6 1
Jesús Gorroñogoitia Cruz 1

dspot-2.1.0

13 May 15:32
Compare
Choose a tag to compare

New features

  • Forbid the class java.net.URL in the observations.
  • Widden scope of catched exception print to string.
  • Forbid usage of java.lang.Class in assertions.
  • Do not generate try/catch for comparison error from junit3.
  • Do not generate assertion on string that contains path.
  • Catch error during init of selector Fix #731.
  • Recover from errors when first exec of tests.
  • Generate after class.
  • Print class using to string if spoon fails.
  • Can now specify a list of package to forbid in the observations.
  • Allow snapshot versions for PIT and Descartes.
  • Split now the value of parameter amplifiers and init well the list.
  • Pitest minimizer.
  • Dspot prettifier process.
  • Code2vec parser.
  • Using maven to execute tests.
  • Prettifier code2vec executor.

Bug Fixes

  • Typo in the constant of isEqualsTo and isNotEqualsTo.
  • Perf issue by splitting words to be checked.
  • And between operand instead of or.
  • Order of provided folders.
  • Can generate a value for type stack over flow.
  • Fix is collection and is map in observations.
  • Is test junit3.
  • Assertion remover on returned values.
  • The output path is now well configured.
  • Fix gradle properties and skip compile test.
  • Rm try with resource.
  • Can generate assertion for.
  • Use now the complete classpath to compile the newly amplified test class.
  • Get filter automatic builder helper Fix #744.
  • Fix code2vec parser.
  • GoogleTruth is now a Decorator and uses another implementation.
  • Compilation errors due to amplification during the process.
  • Use the property outputDirectory.
  • Negate the conditional to take all but total instead of only total.
  • Cloner avoid npe in init.
  • Remove generic actual type arguments.
  • Fix remove assertion npe.

Documentation

  • Fix issues with the javadoc.
  • Improve diff test selection documentation FIX #768.
  • Rename filter property Fix #747.
  • Add example to improve coverage with Maven plugin.
  • Split the README to push forward the usage.
  • Patching issue#605. Fixing DSpot Maven usage example.

Tests

  • Update relative path of test source folder.

Refactoring

  • Report architecture fix #745.
  • Remove all the old files that was not used anymore.
  • Remove all files related to an experimentation.

Performance

  • Memory optimization.
  • DSpot time execution optimization.
  • Optimization4.
  • Optimization#3.
  • In DSpotUtils.printAndCompileToCheck(): extract invocation type.getMethods() out of stream filter loop, since it is an invariant.
  • Remove overlapping generated tests, closes #535.

Unknown

  • Bump jacoco and spoon.
  • Prettifier set exe jar.

Authors

Name Nb Commit
Benjamin DANGLOT 49
Jesús Gorroñogoitia Cruz 5
Oscar Luis Vera Pérez 1
Martin Monperrus 1
andrewbwogi 1

dspot-2.0.0

06 Feb 13:51
Compare
Choose a tag to compare

New features

  • Remove redundant cast FIX #688.
  • DSpot diff test selection.
  • Add dspot-prettifier base code.

Bug Fixes

  • Clean the test resources of dspot-prettifier.
  • Dspot maven test.
  • The initiliazation of isJunit5 in the configuration is done just before the amplification.
  • Fix delete existing generated pom.

Documentation

  • Fix wording.

Continuous Integration

  • Improve diff test selection.

Authors

Name Nb Commit
Benjamin DANGLOT 8
Martin Monperrus 1

dspot-1.2.3

30 Jan 07:49
Compare
Choose a tag to compare

This release supports the STAMP open workshop.

New features

  • Target one test class.

Tests

  • Update resources.

Authors

Name Nb Commit
Benjamin DANGLOT 2

dspot-1.2.2

22 Jan 08:34
Compare
Choose a tag to compare

New features

  • Maven plugin to automatically generate a properties file.
  • Change Pit output format to XML, closes #616.
  • Check input before starting amplification FIX #605.
  • Compute dynamically the filter if it is empty for grade.
  • Test framework support.

Bug Fixes

  • Amplify only the module targeted.
  • Check input use separator if needed.
  • Fix Lombok annotation.
  • Check now the binaries folders properties after the first compilation.
  • Fixes replaceAll exception for WinOS.
  • Pom creation when profiles exist.
  • Create the pom only when needed.

Documentation

  • Update the documentation. by default, DSpot does not use any amplifiers and applies only assertion amplification.
  • Fix the link to the eclipse ide.
  • Do not delete the pom when it has not been generated.
  • Update README.md.

Tests

  • Update version of test runner and add a test on parametrized. D….

Continuous Integration

  • Test maven with properties.
  • Amplify xwiki-commons.
  • Installing all dspot component rather than only dspot.
  • Hotfix for the ci. We use now the dspot version computed by travis rather than hardcoded one.
  • Make the installation of XWiki silent.

Unknown

  • Bump version of test runner.

Authors

Name Nb Commit
Benjamin DANGLOT 21
andrewbwogi 1
Valentina Di Giacomo 1