Skip to content

Commit

Permalink
Merge pull request #740 from nunit/release-beta-3
Browse files Browse the repository at this point in the history
Preparing for the beta 3 release
  • Loading branch information
rprouse committed Jul 15, 2015
2 parents 8bd1ae6 + b965e2f commit 72d21a0
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 13 deletions.
64 changes: 63 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,66 @@
NUnit 3.0.0 Beta 2 - May 12, 2015
NUnit 3.0.0 Beta 3 - July 15, 2015

Framework

* The RangeAttribute has been extended to support more data types including
uint, long and ulong
* Added platform support for Windows 10 and fixed issues with Windows 8 and
8.1 support
* Added async support to the portable version of NUnit Framework
* The named members of the TestCaseSource and ValueSource attributes must now be
static.
* RandomAttribute has been extended to add support for new data types including
uint, long, ulong, short, ushort, float, byte and sbyte
* TestContext.Random has also been extended to add support for new data types including
uint, long, ulong, short, ushort, float, byte, sbyte and decimal
* Removed the dependency on Microsoft.Bcl.Async from the NUnit Framework assembly
targeting .NET 4.0. If you want to write async tests in .NET 4.0, you will need
to reference the NuGet package yourself.
* Added a new TestFixtureSource attribute which is the equivalent to TestCaseSource
but provides for instantiation of fixtures.
* Significant improvements have been made in how NUnit deduces the type arguments of
generic methods based on the arguments provided.

Engine

* If the target framework is not specified, test assemblies that are compiled
to target .NET 4.5 will no longer run in .NET 4.0 compatibility mode

Console

* If the console is run without arguments, it will now display help

Issues Resolved

* 47 Extensions to RangeAttribute
* 237 System.Uri .ctor works not properly under Nunit
* 244 NUnit should properly distinguish between .NET 4.0 and 4.5
* 310 Target framework not specified on the AppDomain when running against .Net 4.5
* 321 Rationalize how we count tests
* 472 Overflow exception and DivideByZero exception from the RangeAttribute
* 524 int and char do not compare correctly?
* 539 Truncation of string arguments
* 544 AsyncTestMethodTests for 4.5 Framework fails frequently on Travis CI
* 656 Unused parameter in Console.WriteLine found
* 670 Failing Tests in TeamCity Build
* 673 Ensure proper disposal of engine objects
* 674 Engine does not release test assemblies
* 679 Windows 10 Support
* 682 Add Async Support to Portable Framework
* 683 Make FrameworkController available in portable build
* 687 TestAgency does not launch agent process correctly if runtime type is not specified (i.e. v4.0)
* 692 PlatformAttribute_OperatingSystemBitNess fails when running in 32-bit process
* 693 Generic Test<T> Method cannot determine type arguments for fixture when passed as IEnumerable<T>
* 698 Require TestCaseSource and ValueSource named members to be static
* 703 TeamCity non-equal flowid for 'testStarted' and 'testFinished' messages
* 712 Extensions to RandomAttribute
* 715 Provide a data source attribute at TestFixture Level
* 718 RangeConstraint gives error with from and two args of differing types
* 723 Does nunit.nuspec require dependency on Microsoft.Bcl.Async?
* 724 Adds support for Nullable<bool> to Assert.IsTrue and Assert.IsFalse
* 734 Console without parameters doesn't show help

NUnit 3.0.0 Beta 2 - May 12, 2015

Framework

Expand Down
4 changes: 2 additions & 2 deletions NUnit.proj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<PropertyGroup Label="Common Properties">
<ProjectName>$(MSBuildProjectName)</ProjectName>
<PackageVersion>3.0.0</PackageVersion>
<PackageModifier>-beta-2</PackageModifier>
<DisplayVersion>3.0 Beta 2</DisplayVersion>
<PackageModifier>-beta-3</PackageModifier>
<DisplayVersion>3.0 Beta 3</DisplayVersion>
<PackageName>$(ProjectName)-$(PackageVersion)$(PackageModifier)</PackageName>
<PackageNameCF>$(ProjectName)CF-$(PackageVersion)$(PackageModifier)</PackageNameCF>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ public TestSuite BuildFrom(Type type, ITestFixtureData testFixtureData)
/// <summary>
/// Method to add test cases to the newly constructed fixture.
/// </summary>
/// <param name="fixtureType"></param>
/// <param name="fixture">The fixture to which cases should be added</param>
private void AddTestCasesToFixture(TestFixture fixture)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ namespace NUnit.Framework.Internal
/// </summary>
public class TestFixtureParameters : TestParameters, ITestFixtureData
{
#region Instance Fields

/// <summary>
/// The expected result to be returned
/// </summary>
private object _expectedResult;

#endregion

#region Constructors

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<NoWarn>1685</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -34,6 +35,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<NoWarn>1685</NoWarn>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
Expand Down

0 comments on commit 72d21a0

Please sign in to comment.