Skip to content

Releases: diffblue/cover-annotations

v1.6.0

06 Jun 11:01
a47eeb8
Compare
Choose a tag to compare

Changed annotations

  • @InTestsMock.returnValueFactory – New attribute to specify a factory that creates the object returned by a mocked method.
  • @InTestsMock.throwException – New attribute to specify an exception instance to be thrown by a mocked method.
  • @InTestsMock.throwExceptionFactory – New attribute to specify a factory to produce the exception to be thrown by a mocked method.

Supported by Diffblue Cover from 2025.06.02
See https://docs.diffblue.com/features/cover-annotations/mocking-annotations for more details

v1.5.0

28 May 15:27
90c8d92
Compare
Choose a tag to compare

Changed annotations

  • @InTestsMock - Additional attributes to allow user defined mocked values with Diffblue Cover generated tests

Supported by Diffblue Cover from 2025.06.01
See https://docs.diffblue.com/features/cover-annotations for more details

Full Changelog: v1.4.0...v1.5.0

v1.4.0

06 May 16:23
496e571
Compare
Choose a tag to compare

Introduced annotations

  • @ContributionFromDiffblue
  • @ManagedByDiffblue

These annotation will be used by Diffblue Cover in an upcoming release mid 2025
See https://docs.diffblue.com/features/cover-annotations for more details

Full Changelog: v1.3.0...v1.4.0

v1.3.0

09 Jan 11:32
754996f
Compare
Choose a tag to compare

Introduced annotations

  • @MaintainedByDiffblue

Supported by Diffblue Cover from 2025.01.02
See https://docs.diffblue.com/features/cover-annotations for more details

Full Changelog: v1.2.0...v1.3.0

v1.2.0

08 Nov 15:15
1043a10
Compare
Choose a tag to compare

Introduced annotations

  • @MethodUnderTest

Supported by Diffblue Cover from 2024.11.01
See https://docs.diffblue.com/features/cover-annotations for more details

Full Changelog: v1.1.0...v1.2.0

v1.1.0

10 Jun 17:33
5e47094
Compare
Choose a tag to compare

Introduced annotations

  • @InTestsUseBytes
  • @InTestsUseCharacters
  • @InTestsUseClasses
  • @InTestsUseDoubles
  • @InTestsUseBytes
  • @InTestsUseEnums
  • @InTestsUseFloats
  • @InTestsUseIntegers
  • @InTestsUseLongs
  • @InTestsUseShorts
  • @InTestsUseStrings
  • @InterestingTestFactory

Supported by Diffblue Cover from 2024.06.02
See https://docs.diffblue.com/features/cover-annotations for more details

Full Changelog: v1.0.0...v1.1.0

v1.0.0

17 May 09:21
Compare
Choose a tag to compare

Initial release

Introduces annotations

  • @InTestsMock
  • @InTestsMockConstruction
  • @InTestsMockStatic