Skip to content
This repository has been archived by the owner on Nov 21, 2021. It is now read-only.

Convert tests from MbUnit to MSTest #7

Merged
merged 12 commits into from
Nov 21, 2019
Merged

Conversation

jeremy-jameson
Copy link
Collaborator

Fix #4

This is a prerequisite for installing the latest MSTest.TestFramework NuGet package.
- Update-Package log4net -Reinstall
- Update-Package Ninject -Reinstall
- Update-Package xmlrpcnet -Reinstall

This resolves a warning in Visual Studio after updating test project to .NET 4.5.
- Install-Package MSTest.TestFramework
- Install-Package MSTest.TestAdapter
- Install-Package Microsoft.NET.Test.Sdk
- While not as "elegant" as the original EmailProvider tests, this is "good enough" for the current test scenarios
- This is required to avoid errors when building the solution on Azure DevOps hosted agents
This is necessary to avoid an error when running the tests in specific environments (e.g. EXT-VS2017-DEV3).

This assembly is installed in the GAC in some environments (e.g. EXT-VS2013-DEV1) -- presumably due to installing the corresponding version of SQL Server Express.
@jeremy-jameson jeremy-jameson self-assigned this Nov 21, 2019
@jeremy-jameson jeremy-jameson merged commit 1b92c93 into master Nov 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subtext uses obsolete test framework (MbUnit)
1 participant