nunit / NUnit.System.Linq

Partial implementation of System.Linq for use with NUnit's .NET 2.0 builds
MIT License
1 stars 4 forks source link

NUnit.System.Linq

Partial implementation of System.Linq for use with NUnit's .NET 2.0 framework builds and by the TestEngine.

This assembly contains classes in the System.Linq namespace as well as other classes not present in .NET 2.0 but needed in order to support System.Linq. It will cause conflicts if referenced by an assembly that targets a runtime other than .NET 2.0.

Types supported

System.Linq

Other Types Included

System

System.Collections

System.Collections.Generic

System.Runtime.CompilerServices

Updating the Version number

The version must be updated in AssemblyInfo.cs and build.cake.

Publishing

NUnit.System.Linq is published as a nuget package on both our AppVeyor project feed and the NUnit MyGet feed. All branch and PR builds appear on the AppVeyor feed. Only builds of master are deployed by AppVeyor to the MyGet feed. Note that builds of master may be initiated either by merging a PR or by pushing directly to master.

Builds, including builds of master, may be either tagged or untagged. Tagged builds use the tag itself as the version. Note that you must use the --tags option on the git push command in order for a local tag to be pushed to GitHub.

Workflows

Normal CI Build

This is the normal workflow for making changes. All the artifacts created use the -CI pre-release suffix.

  1. Commit your work to the local branch and push to GitHub. Your branch builds and, if successful, produces artifacts on the AppVeyor feed.

  2. Create a PR. The PR builds and creates artifacts on the AppVeyor feed.

  3. Merge the PR to master. Master builds and creates artifacts on both the AppVeyor and MyGet feeds.

Release Build

This assumes that master is ready for publication using a particular version number. If not, merge in branches until it is ready. Be sure to update the version in AssemblyInfo.cs and build.cake using the same version with which you will tag the commit.

  1. Working in your local master branch, do a git pull to get the latest changes.

  2. Apply the tag and push to GitHub. Note that two push commands are required.

    git tag 0.9.0
    git push
    git push --tags
  3. Master will build and artifacts will be deployed to both AppVeyor and MyGet using the tag you specified as the version.