C#

FluentAssertions

Në shqip përdoret i njëjti emër.

ShpjegimiSQ

FluentAssertions i bën kontrollet e testeve të lexohen si fjali: rezultati.Should().Be(5); ose lista.Should().Contain("Arta");, me mesazhe gabimi shumë të qarta.

EnglishEN

FluentAssertions makes test checks read like sentences: result.Should().Be(5); or list.Should().Contain("Arta");, with very clear error messages.

Si ta mendosh

Si një mësues që shpjegon qartë pse përgjigjja është e gabuar.

Lexoje në anglisht

Like a teacher who explains clearly why the answer is wrong.

Shembull kodicsharp

[Fact]
public void Mbledhja_Punon() => Kalkulator.Mblidh(2, 3).Should().Be(5);

Terma të lidhur