-
TestResults folder names are now cross platform compatible, as per #678
-
Add whitespace editorconfig and run dotnet format whitespace
-
Bumped up version to 2.3.0
A list of changes since last release are available here
- MSTest: 2.3.0-preview-20220810-02
- MSTest.TestFramework: 2.3.0-preview-20220810-02
- MSTest.TestAdapter: 2.3.0-preview-20220810-02
A list of changes since last release are available here
- Fix write conflicts in parallel output
- Fixed test run executable files.
- [UITestMethod] should invoke test method with null
A list of changes since last release are available here
- MSTest.TestFramework: 2.2.10-preview-20220414-01
- MSTest.TestAdapter: 2.2.10-preview-20220414-01
🙇 Shout out to @SimonCropp, for bringing this functionality to XUnit in his https://github.com/SimonCropp/XunitContext project. And being an inspiration for implementing this.
MSTest 2.2.9 captures all Console output and attaches it to the correct test, even if you are running tests in parallel. This output is captured from your test code as well as from the tested code. And it requires no special setup.
In 2.2.8, test output is scattered among tests, in our example, one unlucky test gets all the output of other tests just mixed together:
With 2.2.9, each output is correctly attached to the test that produced it:
Also notice that we are also capturing debug, trace and error. And we are not awaiting the FastChild method, and the output is still assigned correctly. Souce code.
Due to the way that class and assembly initialize, and cleanup are invoked, their output will end up in the first test that run (or last for cleanup). This is unfortunately not easily fixable.
A list of changes since last release are available here
- Dependency version updates.
- Added internal versioning
- Fixed .nuspec files to mitigate NU5050 error.
- Updated to WindowsAppSDK 1.0.0 GA
- Downgrade uwp
- Add DoesNotReturnIf to Assert.IsTrue/Assert.IsFalse
- Implement Class Cleanup Lifecycle selection
- Fix concurrent issues in DataSerializationHelper
- Fix for incorrect Microsoft.TestPlatform.AdapterUtilities.dll for net45 target (#980)
- Updated to WindowsAppSDK 1.0.0-preview1
- CVE-2017-0247 fixed
- Added 500ms overhead to parallel execution tests.
- Cherry-picking the changes from 2.2.7
A list of changes since last release are available here
A list of changes since last release are available here
- Allow opting-out of ITestDataSource test discovery.
- Enable internal testclass discovery (#937)
- Fix DateTime looses significant digits in DynamicData (#875)
A list of changes since last release are available here
- Fixes #799 by testing logged messages against "null or whitespace" instead of "null or empty"
- Added missing framework references for WinUI
- Upgraded winui to 0.8.0
- Fixed a bug in
ITestDataSource
data deserialization - Fixed DataSource deserialization.
- Fixed a serialization issue with DataRows.
- Replaced license file with an expression.
A list of changes since last release are available here
A list of changes since last release are available here
- Fix StackOverflowException in StringAssert.DoesNotMatch
- Added basic WinUI3 support.
- MSBuild scripts fixed.
- Some code clean-up and refactoring
A list of changes since last release are available here
- MSTest.TestFramework: 2.2.4-preview-20210331-02
- MSTest.TestAdapter: 2.2.4-preview-20210331-02
A list of changes since last release are available here
- NuGet package dependencies fixed.
- Missing assembly added to TestAdapter package
- Unit test display name issue fixed.
- Fix infinite iteration in Matches method
A list of changes since last release are available here
- Prepend MSTest to log messages, without formatting
- TestPlatform version updated to v16.9.1
- WIP: Remove .txt extension from LICENSE file
- Merge parameters safely
- Forward logs to EqtTrace on netcore
- Merge settings safely
- ManagedNames impl. refactored.
- Fixed concurrency issues in the TypeCache class.
A list of changes since last release are available here
- Pdb2Pbp path fix
- Fixing pdb2pdb package
- Fixing nugets
- Updates
- Refactored
TypesToLoadAttribute
intoTestExtensionTypesAttribute
- Fixed TypesToLoadAttribute compatibility
- BugFix: WorkItemAttribute not extracted
- Removed unnecessary whitespace
- Removed MyGet references from README.md
A list of changes since last release are available here
- MSTest.TestFramework: 2.2.0-preview-20210115-03
- MSTest.TestAdapter: 2.2.0-preview-20210115-03
- Load specific types from adapter
- Added support for ManagedType and ManagedClass
- Add nullable-annotated Assert.IsNotNull
- Replaced deprecated certificate
- Added StringComparison to StringAssert Contains(), EndsWith(), and StartsWith()
- Assert.IsTrue() & False() to handle nullable bools
- Add support to treat class/assembly warnings as errors
- Fix XML doc comments (code -> c)
- Fix null ref bug when base class cleanup fails when there is no derived class cleanup method
A list of changes since last release are available here
- MSTest.TestFramework: 2.2.0-preview-20201126-03
- MSTest.TestAdapter: 2.2.0-preview-20201126-03
- Set IsClassInitializeExecuted=true after base class init to avoid repeated class init calls
- enhance documentation on when the TestCleanup is executed
- Improve CollectionAssert.Are*Equal docs (#711)
- Fixed documentation for the TestMethodAttribute
- Make AssemblyCleanup/ClassCleanup execute even if Initialize fails.
- Change NuGet package to use
None
ItemGroup to copy files to output directory
A list of changes since last release are available here
- Add FSharp E2E test
- remove unused usings
- fix blog link
- Create Write() in TestContext
- switch arguments for expected and actual in Assert.AreEquals in multiple tests
- Spelling / conventions and grammar fixes
A list of changes since last release are available here
- Fix parameters in tests
- Fix bugs in parent class init/cleanup logic
- Record test start/end events for data driven tests
A list of changes since last release are available here
A list of changes since last release are available here
- MSTest.TestFramework: 2.1.0-beta2
- MSTest.TestAdapter: 2.1.0-beta2
- Fix incompatibility between multiple versions of mstest adapter present in a solution
- Build script fix to work with VS2019
A list of changes since last release are available here
- MSTest.TestFramework: 2.1.0-beta
- MSTest.TestAdapter: 2.1.0-beta
- Implemented 'AddResultFile' for NetCore TestContext
- Datarow tests - support methods with optional parameters
- Implemented Initialize Inheritance for ClassInitialize attribute
- Apply TestCategory from derived class on inherited test methods
- Fixed IsNotInstanceOfType failing when objected being asserted on is null
- Setting MapNotRunnableToFailed to true by default
A list of changes since last release are available here
- Deployment Item support in .NET Core
- Support for CancellationTokenSource in TestContext to help in timeout scenario
- Correcting error message when DynamicData doesn't have any data
A list of changes since last release are available here
- MSTest.TestFramework: 2.0.0-beta4
- MSTest.TestAdapter: 2.0.0-beta4
- (BREAKING CHANGE) TestContext Properties type fixed to be IDictionary
- Base class data rows should not be executed
- Setting option for marking not runnable tests as failed
A list of changes since last release are available here
- MSTest.TestFramework: 2.0.0-beta2
- MSTest.TestAdapter: 2.0.0-beta2
- (BREAKING CHANGE) Description, WorkItem, CssIteration, CssProjectStructure Attributes will not be treated as traits
- Added new runsettings configuration to deploy all files from test source location i.e. DeployTestSourceDependencies [enhancement]
- Removed Test discovery warnings in Test Output pane [Contributed by Carlos Parra]
- Allow test methods returning Task to run without suppling async keyword [Contributed by Paul Spangler]
A list of changes since last release are available here
- Enabling Tfs properties in test context object [enhancement]
- Description, WorkItem, CssIteration, CssProjectStructure Attributes should not be treated as traits
- Adding appropriate error message for TestMethods expecting parameters but parameters not provided
A list of changes since last release are available here
- MSTest.TestFramework: 1.4.0-beta
- MSTest.TestAdapter: 1.4.0-beta
A list of changes since last release are available here
A list of changes since last release are available here
- TestTimeout configurable via RunSettings [enhancement]
- Customize display name for DynamicDataAttribute [Contributed by Brad Stoney] [enhancement]
- Fix incompatibility between multiple versions of mstest adapter present in a solution
- Fix multiple results not returning for custom TestMethod [Contributed by Cédric Bignon]
- Run Class Cleanup in sync with Class Initialize
- Fix to show right error message on assembly load exception during test run
- Consistent behavior of GenericParameterHelper's while running and debugging [Contributed by walterlv]
A list of changes since last release are available here
- In-Assembly Parallel Feature
- Add missing Microsoft.Internal.TestPlatform.ObjectModel [Contributed by Andrey Kurdyumov]
- Adding warning message for vsmdi file
- Fixing Key collision for test run parameters
- Fix for csv x64 scenario
- DataRow DisplayName Fix in .Net framework
- Update File version for adapter and framework dlls
- Add information about which assembly failed to discover test [Contributed by Andrey Kurdyumov]
A list of changes since last release are available here
- MSTest.TestFramework: 1.3.0-beta2
- MSTest.TestAdapter: 1.3.0-beta2
- Fixing Key collision for test run parameters
- Don't call Class Cleanup if Class Init not called
- Fix masking assembly load failure error message
- Fix UWP tests discovery
- DataSourceAttribute Implementation
- Adding support for DiaNavigation in UWP test adapter
- Arguments order for ArgumentException
- Adding filtering support at discovery
- Improve handling of Assert.Inconclusive
A list of changes since last release are available here
- Added Mapping for TestOutcome.None to the UnitTestOutcome Enum to achieve NotExecuted behaviour in VSTS [Contributed By Irguzhav] [enhancement]
- TestMethod failures masked by TestCleanUp exceptions
- Multiple copies added for same test on running multiple times in IntelliTest
- Adapter is not sending TestCategory traits in Testcase object to Testhost
- All the Assert constructor's has been made private and the classes sealed
A list of changes since last release are available here
- MSTest.TestFramework: 1.2.0-beta3
- MSTest.TestAdapter: 1.2.0-beta3
- Support for Dynamic Data Attribute [extensibility]
- Make discovering test methods from base classes defined in another assembly the default [enhancement]
- CollectSourceInformation awareness to query source information [enhancement]
A list of changes since last release are available here
- MSTest.TestFramework: 1.2.0-beta
- MSTest.TestAdapter: 1.2.0-beta
- Ability to provide a reason for Ignored tests [enhancement]
- VB unit test project templates that ship in VS 2017 do not reference MSTest V2 nuget packages [enhancement]
- Assert.IsInstanceOf passes on value null [Contributed By LarsCelie]
- Test methods in a base class defined in a different assembly are not navigable in Test Explorer [Contributed By ajryan]
- Enable MSTest framework based tests targeting .NET Core to be run and debugged from within VSCode
- Web project templates that ship in VS 2017 do not reference MSTest V2 nuget packages
A list of changes since last release are available here
- Console.WriteLine support for .NetCore Projects [enhancement]
- Inheritance support for base classes that resides in different assemblies [enhancement]
- TestContext.Writeline does not output messages
- Logger.LogMessage logs a message mutliple times
- TestContext.CurrentTestOutcome is always InProgress in the TestCleanup method
- An inconclusive in a test initialize fails the test if it has an ExpectedException
A list of changes since last release are available here
A list of changes since last release are available here
- Tests with Deployment Item do not run
- Run tests fail intermittently with a disconnected from server exception
- Templates and Wizards vsix should be built with RC3 tooling
This is also the first release from GitHub and with source code building against Dev15 tooling.
Initial release.