ExpressionToCodeLib
Metadata
Authors | Eamon Nerbonne |
---|---|
Copyrights | Copyright 2015 © 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 | https://github.com/EamonNerbonne/ExpressionToCode |
ReleaseNotes | Support accessing non-public properties on an implicit this-receiver |
RequireLicenseAcceptance | False |
Tags | code-generation NUnit xUnit.NET mstest expression-tree unit-test PowerAssert ExpressionToCode |
Title | ExpressionToCodeLib |
PackageSize | 89357 |
PackageHashAlgorithm | SHA512 |
PackageHash | +wX333AUFSJkPJk+xkIAt0ZuAEs58Eual621rc8Ue6Yp9QiQZ306U2SB9E0+Oay8sAoaj+W4FoK7al8P/2eR2A== |
DownloadCount | 000000 |
CreatedDate | 2015-07-07T14:50:52 |
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. |
Access
You can access data for this project using the tools and addresses described below.
NuGet (nuget.exe)
- Installing the package (HTTP Basic authentication):
-
nuget install ExpressionToCodeLib -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
nuget install ExpressionToCodeLib -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
NuGet (Package Manager Console)
- Installing the package (search all configured feeds):
-
Install-Package ExpressionToCodeLib
- Installing the package (HTTP Basic authentication):
-
Install-Package ExpressionToCodeLib -Source http://nuget.gw.symbolsource.org/Public/NuGet/FeedService.mvc
- Installing the package (pre-authenticated):
-
Install-Package ExpressionToCodeLib -Source http://nuget.gw.symbolsource.org/Public/%login%/%key%/NuGet/FeedService.mvc
- Uinstalling the package:
-
Uninstall-Package ExpressionToCodeLib
OpenWrap
- Installing the package:
-
o add-wrap ExpressionToCodeLib
- Uninstalling the package:
-
o remove-wrap ExpressionToCodeLib
Versions
A version is snapshot of a project's source code. It does not need to follow the Major.Minor.Revision.Build numbering pattern. It can be an arbitrary string of text that identifies a release or a build, in particular including meaningful words like beta, RC or RTM.