Граф коммитов

311 Коммитов

Автор SHA1 Сообщение Дата
Medeni Baykal 327ab681da
Added missing library to the NuGet package. (#798)
Fixes #789
2021-03-16 12:03:46 +00:00
Medeni Baykal 7ca64ac7be
NuGet package dependencies fixed. (#797) 2021-03-15 23:51:57 +01:00
Medeni Baykal d4ec2384a9
Missing assembly added to TestAdapter package (#796)
Fixes #789
2021-03-10 14:45:55 +00:00
Medeni Baykal c3a4c9f99b
Unit test display name issue fixed. (#795)
Fixes #793

Partially reverts changes introduced in https://github.com/microsoft/testfx/pull/766
2021-03-10 10:39:34 +00:00
Jian Wu 5dafe82fa2
Fix infinite iteration in Matches method (#792) 2021-03-05 16:32:13 +01:00
Medeni Baykal 32f53aea32
Fixed nuget packages. (#787) 2021-03-01 18:11:17 +01:00
Jakub Jareš 8ac9547058
Prepend MSTest to log messages, without formatting (#785)
There are some strings that are not correctly formatted, and the previous code was not taking that into account, but because it worked before, then EqtTrace must be protecting against that. So I just prepend MSTest, and let EqtTrace format the result
2021-02-25 15:34:17 +00:00
Medeni Baykal 764842c8b9
TestPlatform version updated to v16.9.1 (#784) 2021-02-25 13:29:43 +01:00
Andre Correia bab15ef7ce
WIP: Remove .txt extension from LICENSE file (#781)
* Remove .txt extension from LICENSE file

Co-authored-by: Medeni Baykal <433724+Haplois@users.noreply.github.com>
2021-02-24 11:56:07 +01:00
Jakub Jareš b1635cc257
Merge parameters safely (#778)
Merge session level parameters safely with source level parameters.
2021-02-22 11:06:13 +00:00
Jakub Jareš 956f367788
Forward logs to EqtTrace on netcore (#776) 2021-02-17 17:18:48 +01:00
Codrin-Victor Poienaru 9d92f65169
Localized file check-in by OneLocBuild Task (#774) 2021-02-17 14:10:26 +01:00
Codrin-Victor Poienaru 1b25305c24
Moving to the new localization system (#773)
* Added support for the new localization system
2021-02-17 09:56:11 +01:00
Medeni Baykal 2be41edc6e
Bumped the Test Platform version to `16.10.0-preview-20210211-01`. (#770) 2021-02-16 17:48:03 +01:00
Jakub Jareš f55dc39f51
Merge settings safely (#771) 2021-02-15 17:23:43 +01:00
dotnet bot 7f8966514d
Fixup feeds (#768)
Co-authored-by: Matt Mitchell <mmitche@microsoft.com>
2021-02-09 18:40:43 +00:00
Medeni Baykal 60908dff38
ManagedNames impl. refactored. (#766)
- ManagedNames support in TestCase is updated to support the latest preview.
 - Updated TP to `16.10.0-preview-20210204-01`.
2021-02-04 15:32:58 +01:00
Medeni Baykal f55f5f23e7
Updated TP to `16.9.0-preview-20210129-05`. (#765)
- Updated the Test Platform version to 16.9.0-preview-20210129-05.
 - Refactored the adapter to conform to the new implementation.
 - Fixed some warnings.
2021-02-01 12:59:10 +01:00
Pavel Horak 948113d4c9
Create AzureDevOps.yml 2021-02-01 11:34:32 +01:00
Medeni Baykal 7de14c4045
Updated build status badge. (#763) 2021-01-22 12:54:29 +01:00
Vladimir Khvostov 126ea1f169
Fixed concurrency issues in the TypeCache class. (#758)
Co-authored-by: Vladimir Khvostov <vlkhvost@microsoft.com>
2021-01-21 10:55:35 +01:00
Sanan Yuzbashiyev 4a0a2a14f4
Pdb2Pbp path fix (#761)
Fixing Microsoft.DiaSymReader.Pdb2Pdb path
2021-01-15 15:59:05 +01:00
Sanan Yuzbashiyev 31b93e7647
Fixing pdb2pdb package (#760)
Fixing pdb2pdb package
2021-01-15 15:04:14 +01:00
Sanan Yuzbashiyev 7100aa8e16
Fixing nugets (#759) 2021-01-15 11:35:22 +00:00
Cristiano Suzuki cf8f09911a
Updates (#755)
Co-authored-by: Cristiano Suzuki <crsuzuki@microsoft.com>
2020-12-18 15:24:46 +01:00
Medeni Baykal e3267d619c
Refactored `TypesToLoadAttribute` into `TestExtensionTypesAttribute` (#754)
* Refactored `TypesToLoadAttribute` into `TestExtensionTypesAttribute`

* Updated -TestPlatformVersion to `16.9.0-preview-20201215-01`.
2020-12-15 13:21:12 +00:00
Medeni Baykal e18921042d
Fixed TypesToLoadAttribute compatibility (#753)
* Removed TypesToLoadAttribute dependency ObjectModel.

    Removed TypesToLoadAttribute dependency from ObjectModel, now using an internal implementation.

* Updated -TestPlatformVersion to `16.9.0-preview-20201214-05`.
2020-12-14 19:52:07 +00:00
jflepp ad822aa381
BugFix: WorkItemAttribute not extracted (#749)
* Fixed WorkItem Id not being read bug

* Added comment to trigger CI build

* Removed comment to trigger CI build

* Removed second newline

* Removed Array Suffix from Variable Name

* Fixed bug and added test

Co-authored-by: Flepp Jann <JFlepp@Hamilton.ch>
2020-12-08 19:38:29 +00:00
Medeni Baykal ce694f3ffc
Removed unnecessary whitespace (#752) 2020-12-08 17:36:06 +00:00
Medeni Baykal 2d98362257
Removed MyGet references from README.md (#751) 2020-12-08 11:24:34 +01:00
Medeni Baykal 97f69adcbe
Addned new thumbprint (#747)
- Added new thumbprint to verify-sign.ps1
2020-11-27 00:00:28 +01:00
Jakub Jareš 7355b17afd
Add release notes script (#736)
* Added release note generation script
2020-11-26 22:20:06 +01:00
Sanan Yuzbashiyev cd19947dda
Load specific types from adapter (#746)
* Added types to load from adapter

* Updated test.ps1 to use internal TestPlatform

* Using internal up-to-date version of TestPlatfrom instead of one shipped with Visual Studio

* Fixed failing test

Co-authored-by: Medeni Baykal
2020-11-24 18:52:54 +01:00
Medeni Baykal 76f0f89086
FQN work (#737)
* Added support for `ManagedType` and `ManagedMethod`.

Added support for `ManagedType` and `ManagedMethod` into various classes. Also centralized TestPlarform version and done some refactoring.
2020-11-24 10:18:03 +01:00
Medeni Baykal e9bc6699cb
Add nullable-annotated Assert.IsNotNull (#744) 2020-11-12 15:46:57 +01:00
Medeni Baykal 219cc96a4d
Added new Azure Artifacts sources (#741) 2020-11-03 18:52:20 +01:00
Medeni Baykal 8438736e36
Replaced deprecated certificate (#742)
- Microsoft402400 certificate is deprecated, replaced with Microsoft400
2020-11-03 16:38:21 +01:00
Maximilian Chaplin ec18af6f90
Added StringComparison to StringAssert Contains(), EndsWith(), and StartsWith() (#691)
* Added StringAssert ComparisonType for Contains, StartsWith, and EndsWith

Co-authored-by: Maximilian Chaplin <MXCH@simcorp.com>
Co-authored-by: nohwnd <me@jakubjares.com>
2020-09-29 11:23:42 +02:00
Maximilian Chaplin 2d392c7daf
Assert.IsTrue() & False() to handle nullable bools (#690)
* Added `Assert.IsTrue` and `Assert.IsFalse` for nullable booleans.

Co-authored-by: Maximilian Chaplin <MXCH@simcorp.com>
2020-09-16 01:24:22 +02:00
Nolan Glore e58ecb9ea1
Add support to treat class/assembly warnings as errors (#717) 2020-09-04 14:55:26 +02:00
Youssef Victor 05a70b267c
Fix XML doc comments (code -> c) (#730) 2020-09-04 14:07:33 +02:00
Pavel Horak 8fd086832b
Update license
Update license according MIT and removing All right reserved phrase.
2020-07-20 17:45:13 +02:00
Nolan Glore 7bc997580a
Fix null ref bug when base class cleanup fails when there is no derived class cleanup method (#716) 2020-06-11 12:45:24 +02:00
Nolan Glore efebd7f29d
Set IsClassInitializeExecuted=true after base class init to avoid repeated class init calls (#705) 2020-06-05 09:53:27 +02:00
hf-kklein 2a9cd11576
enhance documentation on when the TestCleanup is executed (#709)
To me it was unclear if it's once per `[TestClass]` or once per `[TestMethod]`.
2020-06-05 09:52:39 +02:00
Mateusz P-K 93a129b1f8
Improve CollectionAssert.Are*Equal docs (#711) (#712)
Added the information that collections' elements are
compared using object.Equals method when custom IComparer
is not specified for the assertion.
2020-06-05 09:52:03 +02:00
Johan Benschop 038d2ef97c
Fixed documentation for the TestMethodAttribute (#715)
This PR fixes a wrong XML documentation comment for the `displayName` parameter on the `TestMethodAttribute` constructor.
2020-06-05 09:51:23 +02:00
Andrew Pham 7b45d8ab5e
Make AssemblyCleanup/ClassCleanup execute even if Initialize fails. (#696)
Co-authored-by: Andrew Pham <anpha@microsoft.com>
2020-06-05 08:40:54 +02:00
Jeff Tyson ccc0dd8ac3
Change NuGet package to use `None` ItemGroup to copy files to output directory (#703)
Without this change, files from this nuget package will be included
automatically when the consuming project is packing.

Example error when packing a project:
> C:\Program Files\dotnet\sdk\3.1.200\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(198,5):
warning NU5100: The assembly 'content\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll' is
not inside the 'lib' folder and hence it won't be added as a reference
when the package is installed into a project. Move it into the 'lib'
folder if it needs to be referenced.

Additionally, add the contents to an ItemGroup so they can be seperated later if needed.
2020-06-05 08:34:48 +02:00
Stuart Lang 3c76ad3a64
Add FSharp E2E test (#683)
* Add FSharp E2E test

* More representative method name

* Improve test

* Fix string expand

* Fix passed tests detection

* Fix typo in tests

* Comment grammar

* Review feedback

Co-authored-by: nohwnd <me@jakubjares.com>
2020-03-20 12:17:21 +01:00