Assembly: biz.dfch.CS.Testing.dll
d-fens GmbH, General-Guisan-Strasse 6, CH-6300 Zug, Switzerland
This project containts a collection of utility classes to facilitate testing. Formerly this functionality has been included in biz.dfch.CS.System.Utilities, but due to the dependency on some VisualStudio assemblies this has been extracted and separated.
- ExpectContractFailure attribute to assert Code Contract exceptions
Telerik JustMock has to be licensed separately. Only the code samples (source code files) are licensed under the Apache 2.0 license. The Telerik JustMock software has to be licensed separately. See the NOTICE file for more information about this.
FEATURES
- Version of target .NET Framework downgraded to 4.7
FEATURES
- Implemented
PsCmdletAssert2
- Marked
PsCmdletAssert
as obsolete - Support for session state variables
BUGS
- Missing dependencies specified in nuspec file
FEATURES
- Version of target .NET Framework updated to 4.7.1
- Compatibility with VS2017 ensured
- Package Microsoft.PowerShell.5.ReferenceAssemblies updated
FEATURES
PsCmdletAssert
- Invoke overloads added to allow mocking by passing objects cmdlet parameters
FEATURES
PsCmdAssert
- added support for multiple PsCmdlets
- added support for script block initialisation code to be executed before Cmdlet invocation
ExpectException
- added ExpectExceptionAttribute to validate exception messages
FEATURES
PowerShell
- added
PsCmdletAssert
class for testing C# based PowershellPSCmdlet
s. - added
ExpectParameterBindingValidationExceptionAttribute
to catchParameterBindingValidationException
s - added
ExpectParameterBindingExceptionAttribute
to catchParameterBindingException
s - added
ExpectAssertFailedExceptionAttribute
to catchAssertFailedException
s - added
PsCmdletAssert.HasAlias
to assert defined aliases on Cmdlets - added
PsCmdletAssert.HasOutputType
to assert defined output types on Cmdlets
C#
- changed
ExpectContractFailureAttribute
to support regex basedMessage
validation
- Initial release
Built and released with TeamCity