You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

functionalddd.testing

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

functionalddd.testing - nuget Package Compare versions

Package was removed
Sorry, it seems this package was removed from the registry
Comparing version
3.0.0-alpha.20
to
3.0.0-alpha.44
services/metadata/...c10923c4eae6433982f6272646558fa7.psmdcp

Sorry, the diff of this file is not supported yet

+4
-4

@@ -5,3 +5,3 @@ <?xml version="1.0" encoding="utf-8"?>

<id>FunctionalDDD.Testing</id>
<version>3.0.0-alpha.20</version>
<version>3.0.0-alpha.44</version>
<authors>Xavier John</authors>

@@ -16,7 +16,7 @@ <license type="expression">MIT</license>

<tags>functional-programming testing assertions fluent-assertions ddd railway-oriented-programming result maybe test-utilities</tags>
<repository type="git" url="https://github.com/xavierjohn/FunctionalDDD.git" branch="refs/heads/main" commit="9c713cd274623ac0e0b68b43d3c77b71af2d21ac" />
<repository type="git" url="https://github.com/xavierjohn/FunctionalDDD.git" branch="refs/heads/main" commit="1af67bd065458865ad038da90a6e6d7dec9bced3" />
<dependencies>
<group targetFramework="net10.0">
<dependency id="FunctionalDdd.DomainDrivenDesign" version="3.0.0-alpha.20" exclude="Build,Analyzers" />
<dependency id="FunctionalDdd.RailwayOrientedProgramming" version="3.0.0-alpha.20" exclude="Build,Analyzers" />
<dependency id="FunctionalDdd.DomainDrivenDesign" version="3.0.0-alpha.44" exclude="Build,Analyzers" />
<dependency id="FunctionalDdd.RailwayOrientedProgramming" version="3.0.0-alpha.44" exclude="Build,Analyzers" />
<dependency id="FluentAssertions" version="6.12.1" exclude="Build,Analyzers" />

@@ -23,0 +23,0 @@ </group>

@@ -30,2 +30,14 @@ <?xml version="1.0"?>

</member>
<member name="M:FunctionalDdd.Testing.ErrorAssertions.Be(FunctionalDdd.Error,System.String,System.Object[])">
<summary>
Asserts that the error equals the expected error (based on Error.Equals which compares by Code).
</summary>
<param name="expected">The expected error.</param>
<param name="because">
A formatted phrase explaining why the assertion is needed.
</param>
<param name="becauseArgs">
Zero or more objects to format using the placeholders in <paramref name="because" />.
</param>
</member>
<member name="M:FunctionalDdd.Testing.ErrorAssertions.HaveCode(System.String,System.String,System.Object[])">

@@ -67,2 +79,26 @@ <summary>

</member>
<member name="M:FunctionalDdd.Testing.ErrorAssertions.HaveInstance(System.String,System.String,System.Object[])">
<summary>
Asserts that the error has the specified instance identifier.
</summary>
<param name="expectedInstance">The expected instance identifier.</param>
<param name="because">
A formatted phrase explaining why the assertion is needed.
</param>
<param name="becauseArgs">
Zero or more objects to format using the placeholders in <paramref name="because" />.
</param>
</member>
<member name="M:FunctionalDdd.Testing.ErrorAssertions.BeOfType``1(System.String,System.Object[])">
<summary>
Asserts that the error is of the specified type and returns a typed constraint for further assertions.
</summary>
<typeparam name="TError">The expected error type.</typeparam>
<param name="because">
A formatted phrase explaining why the assertion is needed.
</param>
<param name="becauseArgs">
Zero or more objects to format using the placeholders in <paramref name="because" />.
</param>
</member>
<member name="T:FunctionalDdd.Testing.MaybeAssertionsExtensions">

@@ -125,2 +161,26 @@ <summary>

</member>
<member name="M:FunctionalDdd.Testing.MaybeAssertions`1.HaveValueMatching(System.Func{`0,System.Boolean},System.String,System.Object[])">
<summary>
Asserts that the Maybe has a value that satisfies the given predicate.
</summary>
<param name="predicate">The predicate the value should satisfy.</param>
<param name="because">
A formatted phrase explaining why the assertion is needed.
</param>
<param name="becauseArgs">
Zero or more objects to format using the placeholders in <paramref name="because" />.
</param>
</member>
<member name="M:FunctionalDdd.Testing.MaybeAssertions`1.HaveValueEquivalentTo(`0,System.String,System.Object[])">
<summary>
Asserts that the Maybe has a value that is equivalent to the expected value using structural comparison.
</summary>
<param name="expectedValue">The expected value.</param>
<param name="because">
A formatted phrase explaining why the assertion is needed.
</param>
<param name="becauseArgs">
Zero or more objects to format using the placeholders in <paramref name="because" />.
</param>
</member>
<member name="T:FunctionalDdd.Testing.ResultAssertionsExtensions">

@@ -208,2 +268,117 @@ <summary>

</member>
<member name="M:FunctionalDdd.Testing.ResultAssertions`1.HaveValueEquivalentTo(`0,System.String,System.Object[])">
<summary>
Asserts that the success value is equivalent to the expected value using structural comparison.
</summary>
<param name="expectedValue">The expected value.</param>
<param name="because">
A formatted phrase explaining why the assertion is needed.
</param>
<param name="becauseArgs">
Zero or more objects to format using the placeholders in <paramref name="because" />.
</param>
</member>
<member name="M:FunctionalDdd.Testing.ResultAssertions`1.HaveErrorCode(System.String,System.String,System.Object[])">
<summary>
Asserts that the failure has a specific error code.
</summary>
<param name="expectedCode">The expected error code.</param>
<param name="because">
A formatted phrase explaining why the assertion is needed.
</param>
<param name="becauseArgs">
Zero or more objects to format using the placeholders in <paramref name="because" />.
</param>
</member>
<member name="M:FunctionalDdd.Testing.ResultAssertions`1.HaveErrorDetail(System.String,System.String,System.Object[])">
<summary>
Asserts that the failure has a specific error detail.
</summary>
<param name="expectedDetail">The expected error detail.</param>
<param name="because">
A formatted phrase explaining why the assertion is needed.
</param>
<param name="becauseArgs">
Zero or more objects to format using the placeholders in <paramref name="because" />.
</param>
</member>
<member name="M:FunctionalDdd.Testing.ResultAssertions`1.HaveErrorDetailContaining(System.String,System.String,System.Object[])">
<summary>
Asserts that the failure error detail contains the specified substring.
</summary>
<param name="substring">The substring to search for.</param>
<param name="because">
A formatted phrase explaining why the assertion is needed.
</param>
<param name="becauseArgs">
Zero or more objects to format using the placeholders in <paramref name="because" />.
</param>
</member>
<member name="T:FunctionalDdd.Testing.ResultAssertionsAsyncExtensions">
<summary>
Extension methods to enable FluentAssertions on async Result types (Task and ValueTask).
</summary>
</member>
<member name="M:FunctionalDdd.Testing.ResultAssertionsAsyncExtensions.BeSuccessAsync``1(System.Threading.Tasks.Task{FunctionalDdd.Result{``0}},System.String,System.Object[])">
<summary>
Asserts that the async result is a success.
</summary>
<typeparam name="TValue">The type of the result value.</typeparam>
<param name="resultTask">The task containing the result.</param>
<param name="because">A formatted phrase explaining why the assertion is needed.</param>
<param name="becauseArgs">Zero or more objects to format using the placeholders.</param>
<returns>An AndWhich constraint for method chaining with the success value.</returns>
</member>
<member name="M:FunctionalDdd.Testing.ResultAssertionsAsyncExtensions.BeFailureAsync``1(System.Threading.Tasks.Task{FunctionalDdd.Result{``0}},System.String,System.Object[])">
<summary>
Asserts that the async result is a failure.
</summary>
<typeparam name="TValue">The type of the result value.</typeparam>
<param name="resultTask">The task containing the result.</param>
<param name="because">A formatted phrase explaining why the assertion is needed.</param>
<param name="becauseArgs">Zero or more objects to format using the placeholders.</param>
<returns>An AndWhich constraint for method chaining with the error.</returns>
</member>
<member name="M:FunctionalDdd.Testing.ResultAssertionsAsyncExtensions.BeFailureOfTypeAsync``2(System.Threading.Tasks.Task{FunctionalDdd.Result{``0}},System.String,System.Object[])">
<summary>
Asserts that the async result is a failure of a specific error type.
</summary>
<typeparam name="TValue">The type of the result value.</typeparam>
<typeparam name="TError">The expected error type.</typeparam>
<param name="resultTask">The task containing the result.</param>
<param name="because">A formatted phrase explaining why the assertion is needed.</param>
<param name="becauseArgs">Zero or more objects to format using the placeholders.</param>
<returns>An AndWhich constraint for method chaining with the typed error.</returns>
</member>
<member name="M:FunctionalDdd.Testing.ResultAssertionsAsyncExtensions.BeSuccessAsync``1(System.Threading.Tasks.ValueTask{FunctionalDdd.Result{``0}},System.String,System.Object[])">
<summary>
Asserts that the async ValueTask result is a success.
</summary>
<typeparam name="TValue">The type of the result value.</typeparam>
<param name="resultTask">The ValueTask containing the result.</param>
<param name="because">A formatted phrase explaining why the assertion is needed.</param>
<param name="becauseArgs">Zero or more objects to format using the placeholders.</param>
<returns>An AndWhich constraint for method chaining with the success value.</returns>
</member>
<member name="M:FunctionalDdd.Testing.ResultAssertionsAsyncExtensions.BeFailureAsync``1(System.Threading.Tasks.ValueTask{FunctionalDdd.Result{``0}},System.String,System.Object[])">
<summary>
Asserts that the async ValueTask result is a failure.
</summary>
<typeparam name="TValue">The type of the result value.</typeparam>
<param name="resultTask">The ValueTask containing the result.</param>
<param name="because">A formatted phrase explaining why the assertion is needed.</param>
<param name="becauseArgs">Zero or more objects to format using the placeholders.</param>
<returns>An AndWhich constraint for method chaining with the error.</returns>
</member>
<member name="M:FunctionalDdd.Testing.ResultAssertionsAsyncExtensions.BeFailureOfTypeAsync``2(System.Threading.Tasks.ValueTask{FunctionalDdd.Result{``0}},System.String,System.Object[])">
<summary>
Asserts that the async ValueTask result is a failure of a specific error type.
</summary>
<typeparam name="TValue">The type of the result value.</typeparam>
<typeparam name="TError">The expected error type.</typeparam>
<param name="resultTask">The ValueTask containing the result.</param>
<param name="because">A formatted phrase explaining why the assertion is needed.</param>
<param name="becauseArgs">Zero or more objects to format using the placeholders.</param>
<returns>An AndWhich constraint for method chaining with the typed error.</returns>
</member>
<member name="T:FunctionalDdd.Testing.ValidationErrorAssertionsExtensions">

@@ -210,0 +385,0 @@ <summary>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet