1.4.2.0
Metadata
Authors | Eamon Nerbonne |
---|---|
Copyrights | Copyright 2013 © Eamon Nerbonne |
Description | Generates valid, readable C# from an Expression Tree, and can annotate that code with runtime values. This can be useful for code generation and for unit testing: ExpressionToCode detects NUnit, xUnit.NET and MSTest and uses their assertions if available, and a normal Exception otherwise (so it runs fine outside those specific unit testing frameworks too). ExpressionToCode was inspired by Power Asssert.NET. It differs from PowerAssert.NET by supporting a much larger portion of the lambda syntax and to respect C#'s normal operator precedence, in addition to general polish. |
LicenseUrl | http://www.apache.org/licenses/LICENSE-2.0 |
Owners | Eamon Nerbonne |
ProjectUrl | http://code.google.com/p/expressiontocode/ |
ReleaseNotes | Better result layout: include single-line messages after the PAssert.That expression (inline), and also avoid some clutter by not annotating the outermost expression value (which is always false or an exception which is the inner exception). |
RequireLicenseAcceptance | False |
Summary | Create readable C# assertions (or other code) from an expression tree; can annotate subexpressions with their runtime value. Integrates with xUnit.NET, NUnit and MSTest. |
Tags | NUnit xUnit.NET mstest expression-tree unit-test PowerAssert |
Title | ExpressionToCodeLib |
PackageSize | 78824 |
PackageHashAlgorithm | SHA512 |
PackageHash | JeO0JLgzOMdbbX92f6WY/Dz2udRJ6ws3Ln1/xPgli2UmxTzQLqrvoXqXGC9Qag6JbBwrOaZo36bvSmP+TsSb1A== |
DownloadCount | 000000 |
CreatedDate | 2013-03-29T16:01:11 |
Access
You can access data for this version using the tools and addresses described below.
NuGet (nuget.exe)
- Installing the package (HTTP Basic authentication):
-
nuget install ExpressionToCodeLib -Version 1.4.2.0 -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
nuget install ExpressionToCodeLib -Version 1.4.2.0 -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
- Deleting the package from the server (for each registered key):
-
nuget delete ExpressionToCodeLib 1.4.2.0 %key% -Source http://nuget.gw.symbolsource.org/Public/NuGet
NuGet (Package Manager Console)
- Installing the package (HTTP Basic authentication):
-
Install-Package ExpressionToCodeLib -Version 1.4.2.0 -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
Install-Package ExpressionToCodeLib -Version 1.4.2.0 -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
OpenWrap
- Installing the package:
-
o add-wrap ExpressionToCodeLib -Version 1.4.2.0
- Uninstalling the package:
-
o remove-wrap ExpressionToCodeLib
Compilations
A compilation is created for every set of binaries produced from a single unchanged set of sources in different compilation modes (Debug, Release), for different platforms (x86, x64) or targetting different frameworks.
Profile | Mode | Platform | Related |
---|---|---|---|
AnyCPU | Release | .NETFramework,Version=v4.0,Profile=Client | Binaries |