-
Добрый день!
Помогите, пожалуйста, мне нужен простой пример на C#, в котором бы организовывалась подписка (subscribe, если правильно называю и применяю данный термин) на событие изменения последне…
-
https://dev.azure.com/dnceng/public/_build/results?buildId=906108&view=ms.vss-test-web.build-test-results-tab&runId=28912544&resultId=100177&paneView=debug
Configuration: Installer-coreclr-windows_…
-
## Опис
- [x] Створити проєкт для тестування.
- [x] Підключити NuGet пакети: `NUnit` (+ Test adapter 3), `FluentAssertions`, `EFCore InMemoryDb`.
-
Actual: a strongly-typed object graph from .NET (C#)
Expected: a JSON document in a file
Is it possible to compare these two?
-
v4.0.3. ShouldBeEquivalentTo does not appear to compare fields - it passes for two objects with different field values, like this:
```
[TestFixture]
public class SomeTests
{
…
-
### Description
When chaining `ContainsSingle`, assertion failed because of `FormatException` inside FluentAssertion instead of actual difference.
### Complete minimal example reproducing the is…
-
I'm trying to generate a Pact file on the consumer side but am having no luck.
I can see `pact_logs` gets generated though and my unit test passes.
I'm using `PactNet.Windows 2.6.1` and `netcore…
-
### Description
`ContainSingle(Expression, string, params object[])` throws `FormatException` on assertion failure.
### Complete minimal example reproducing the issue
```c#
try
{
await…
-
Hi,
When streaming data the query manipulation that happened within the onBeforeQuery callback is not taken into consideration.
In the test below you can see how the stream returns results from …
mcrio updated
3 years ago
-
Tried the sample code from the Introduction at https://fluentassertions.com/introduction :+1:
IEnumerable numbers = new[] { 1, 2, 3 };
numbers.Should().OnlyContain(n => n > 0);
numbers.Should().…