Skip to content

Releases: fluentassertions/fluentassertions.analyzers

v0.34.1

07 Oct 19:54
4893a34
Compare
Choose a tag to compare

What's Changed

  • feat: Fix dictionary custom methods false diagnostics by @Meir017 in #379 thanks @jnyrup for reporting (5 years ago...)
  • bugfix: false positive on expressions containing Count by @Meir017 in #384 thanks @davidnmbond for reporting

Full Changelog: v0.33.0...v0.34.1

0.33.0

12 Jul 09:31
ecde7ec
Compare
Choose a tag to compare

What's Changed

  • feat: add assert that IsEmpty scenarios by @Meir017 in #356
  • feat: add nunit collection Assert.That Is.EqualTo by @Meir017 in #360
  • feat: add nunit collection Assert.That contains item by @Meir017 in #361
  • feat: add nunit collection Assert.That All InstanceOf by @Meir017 in #362
  • feat: add nunit collection Assert.That OnlyHaveUniqueItems & NotContainNulls by @Meir017 in #364
  • feat: add nunit Assert.That Is.AtMost & Is.AtLeast by @Meir017 in #365
  • feat: Rewrite parameters order when handling constant values in assertions by @Meir017 in #370
  • feat: ignore mstest Assert.Fail & Assert.Inconclusive methods by @Meir017 in #371
  • feat: NUnit Rewrite parameters order when handling constant values in assertions by @Meir017 in #372
  • tests: add examples for excluding assert methods from analyzer by @Meir017 in #376

Full Changelog: v0.32.0...v0.33.0

0.32.0

23 May 16:17
50e5632
Compare
Choose a tag to compare

What's Changed

  • chore: bugfix/309 more than one dimension array by @Meir017 in #311
  • feat: support List<>.Count.Should().Be scenario by @Meir017 in #314
  • feat: add missing nunit test cases for false assertions by @Meir017 in #337
  • feat: add nunit assert.that empty assertions by @Meir017 in #339
  • feat: add nunit assert.that zero assertions by @Meir017 in #340
  • feat: add nunit collectionassert.isempty assertions by @Meir017 in #341
  • feat: add nunit collection assert AreEqual by @Meir017 in #346
  • feat: add nunit collection assert Contains by @Meir017 in #347
  • feat: add nunit collection assert AllItemsAreInstancesOfType by @Meir017 in #349
  • feat: add nunit assert AreNotSame by @Meir017 in #350
  • tests: add mstest tests for generic Assert.IsNotInstanceOfType by @Meir017 in #351
  • feat: add nunit collection asserts AllItemsAreNotNull & AllItemsAreUnique by @Meir017 in #352
  • feat: ignore more nunit assert methods by @Meir017 in #354

New Docs

see https://github.com/fluentassertions/fluentassertions.analyzers?tab=readme-ov-file#docs

Full Changelog: v0.31.0...v0.32.0

0.31.0

29 Feb 19:50
5000541
Compare
Choose a tag to compare

What's Changed

  • docs: add test project for FluentAssertionsAnalyzer by @Meir017 in #304
  • chore: Cleanup solution structure by @Meir017 in #308
  • bugfix: limit CollectionShouldHaveCount_LengthShouldBe to one dimension arrays only by @Meir017 in #310

Closed issues

Full Changelog: v0.30.0...v0.31.0

0.30.0

24 Jan 11:15
b15a52e
Compare
Choose a tag to compare

What's Changed

Closed issues

Full Changelog: v0.29.1...v0.30.0

0.29.1

17 Jan 11:35
a5532be
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.29.0...v0.29.1

0.29.0

04 Jan 11:05
a34ac27
Compare
Choose a tag to compare

What's Changed

  • bugfix: fix #276
  • feat: Migrate fluent assertions code-fixers to levarage IOperation by @Meir017 in #278
  • bugfix: Do not report fluentassertion diagnostic when there is a condition expression before the Should invocation by @Meir017 in #279
  • feat: Migrate NullConditionalAssertion to IOperation by @Meir017 in #280

Full Changelog: v0.28.0...v0.29.0

0.28.0

27 Dec 11:29
b19982c
Compare
Choose a tag to compare

What's Changed

  • use single analyzer for fluentassertions tips - collections by @Meir017 in #252
  • Use specific message for code fixes by @Meir017 in #256
  • feat: Migrate numerics to IOperation by @Meir017 in #259
  • feat: Migrate String to IOperation by @Meir017 in #260
  • feat: Migrate dictionary to IOperation by @Meir017 in #263
  • feat: migrate exceptions to IOperation by @Meir017 in #264
  • tests: introduce API for creating complex test projects by @Meir017 in #267
  • feat: Migrate MsTest to IOperation by @Meir017 in #269
  • feat: Migrate xunit to IOperation by @Meir017 in #270
  • feat: Migrate equals to IOperation by @Meir017 in #272

faster analyzers (see all https://fluentassertions.github.io/fluentassertions.analyzers/dev/bench/)
image

Full Changelog: v0.27.0...v0.28.0

0.27.0

08 Dec 08:16
104442f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.26.0...v0.27.0

0.26.0

28 Oct 19:39
57bb1ca
Compare
Choose a tag to compare

What's Changed

  • chore: update Microsoft.NET.Test.Sdk to version 17.7.2 by @Meir017 in #232
  • add support for xunit SetAsserts Contains by @Meir017 in #234
  • add support for xunit SetAsserts DoesNotContain by @Meir017 in #235
  • chore: update xunit.assert to version 2.5.1 by @Meir017 in #233
  • add support for xunit SetAsserts Subset by @Meir017 in #236
  • add support for xunit TypeAsserts IsAssignableFrom by @Meir017 in #238
  • add support for xunit TypeAsserts IsNotAssignableFrom by @Meir017 in #239
  • add support for xunit TypeAsserts IsType by @Meir017 in #240
  • add support for xunit TypeAsserts IsNotType by @Meir017 in #241
  • bugfix: fix string analyzers array complex type ignoring by @Meir017 in #243 (thanks petterh for reporting in #242)

Full Changelog: v0.25.0...v0.26.0