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

311 Коммитов

Автор SHA1 Сообщение Дата
Jayarani garg 2dbddf8220
Fix for csv x64 scenario (#329)
* Fix for csv x64 scenario

* Adding E2E Test For CSV DataSource

* Moving Project to CPS based
2017-12-08 20:29:25 +05:30
Jayarani garg 78253118da
Updating version of Nuget.exe to latest (#330) 2017-12-08 14:07:53 +05:30
Jayarani garg f18f339d61
Fixing Key collision for test run parameters (#328)
* Base commit

* Adding Unit Test

* PR comments

* Adding logs for diagnostics

* Ignoring Test Temporarily

* Removing ignore
2017-12-06 21:04:42 +05:30
Jayarani garg 44933afcfd
Adding warning message for vsmdi file (#323)
* Adding warning message for vsmdi file

* Generated loc files

* Fixing test

* PR comments
2017-12-06 15:34:17 +05:30
Zbyněk Sailer 5539991b8a LOC CHECKIN | testfx - master | 20171129 (#322) 2017-12-01 18:18:53 +05:30
Abhitej John 716fac6258 [WIP] In assembly parallel (#296)
* WIP: In assembly parallelization at method level.

* WIP: Make ClassInitialize/Cleanup and AssemblyInitialize/Cleanup synchronous. Improve E2E test sample.

* Run test class/assembly cleanups at end of execution.
Remove logic to add stdout/stderr messages to last run test result since it is
error prone. We won't know if the test method that ran last is the same class for
which cleanup failed.

* Test Class parallelization.

* Added E2E tests.

Todo: Add unit tests.

* Runsettings support.

* Made Parallel platform independent.
Support for DoNotParallelize at assembly level.
Fixed up a loc'ing issue with test assembly being loaded in the main app domain.
Runsettings parallel level taking precedence over assembly level setting.

* nit refactoring and test fixes.

* Another nit fix.

* Fixing test script to fail on test failures.

* Some cleanup and a few UTs.
Need to add UTs for the main functionality in TestExecutionManager.

* few PR comments

* Changes based on spec.

Todo:
Modify unit tests.

* Exception handling for settings, unit tests and Disable Parallelization.

* Fixed up E2E tests.

* Adding TestExecutionManager unit tests.

* Reverting the UWP sdk upgrade since PR build machines are not on the latest version yet.

* Updating localized files.

* Staging changes for STA/MTA of parallized tests and a test.
Resource string updates.

* The TaskScheduler.FromCurrentSyncContext did not work. It appears that we need a platform service wrapped around threads for this. I'm leaning to get this done in a separate PR cause its not very often we see tests requiring STA to be parallelized - They can use an STA attribute in that case.

* Really feel bad adding a sleep to a test - This can probably be handled by locks. Was seeing intermittent failures in PR tests.
2017-11-29 19:09:11 +05:30
pvlakshm 88dd9d49ee
Create CONTRIBUTING.md (#318)
Refactoring the contribution guide to a separate file.
2017-11-27 12:41:46 +05:30
pvlakshm 6a5160eabd
Create CODE_OF_CONDUCT.md (#317)
Refactoring the code of conduct into a separate file.
2017-11-27 11:16:21 +05:30
pvlakshm 1d5f975258
Update README.md (#316)
Added reference to issue tracking process.
2017-11-24 17:38:14 +05:30
Abhitej John 7472b43265
Build Status fix 2017-11-21 18:34:24 +05:30
pvlakshm 74c3ab7bb8
Update ISSUE_TEMPLATE.md (#312)
Added a note calling out that this template is only to file issues specific to MSTest V2 test framework, and where to file IDE related issues. A similar change has been made to the vstest issue template as well.
2017-11-17 15:48:27 +05:30
Andrey Kurdyumov 2b7672b23b Add missing Microsoft.Internal.TestPlatform.ObjectModel (#310) 2017-11-10 15:12:31 +05:30
Faizan2304 522bbc062b
Dont throw exception if target framework is ".NETPortable,Version=v4.5,Profile=Profile259" (#289)
* Issue: https://devdiv.visualstudio.com/DevDiv/VS.in%20Agile%20Testing%20IDE/_workitems/edit/507887
Fix: Dont throw exception if target framework is ".NETPortable,Version=v4.5,Profile=Profile259"

* Change info to warning

* Enable building testfx with Preview build of VS
Fixed test
2017-11-08 15:33:18 +05:30
Abhitej John b6ab1d95ae Fixing test script to fail on test failures. (#303) 2017-10-27 09:05:15 +05:30
Sarabjot Singh 94997f12c9 Updating Templates and Wizards for 1.2.0 release. (#285) 2017-10-10 16:42:08 +05:30
Jesse Houwing 91f9f4fe67 Improve handling of Assert.Inconclusive (#277)
* Improve handling of Assert.Inconclusive

* Improved namign in new unit tests for Assert.Inconclusive.
2017-09-29 13:07:10 +05:30
sbaid fa2fa84970 Put prefix of [MSTest][Discovery][<source>] for warning messages during discovery (#276)
* Put prefix of [MSTest][Discovery][<source>] for warning messages during discovery

Warning message as reported by the user https://developercommunity.visualstudio.com/content/problem/114611/visual-studio-20173-unit-test-do-not-appear-random.html -- does not have right contextual info.

* update localized resources
2017-09-28 14:20:13 +05:30
Abhishek Kumawat 28dd7cd359 Adding filtering support at discovery (#271)
* Filter support at discovery

* removing unnecessary line
2017-09-20 12:26:54 +05:30
Abhitej John 4dd29c6938 Added the link to API documentation to the front page. (#264) 2017-09-20 11:47:34 +05:30
Jonas Nyrup 5810433e9a wrong order of arguments to ArgumentException (#262) 2017-09-06 11:53:07 +05:30
mayankbansal018 8bfcf2da39 Adding support for DiaNavigation in UWP test adapter (#258)
* Adding support for DiaNavigation in UWP test adapter

Testing
Verifed that for UWP test running via Tpv1, n exception is thrown

Once we take dependency on Tpv2 Obj Model, we can enable commented testcases

* Making Dia operation common for netcore, & uwp

* move initialization of DiaSessionOperations
2017-09-01 19:45:17 +05:30
Jayarani garg d5d78f0df7 DataSourceAttribute Implementation (#238)
* Base commit for DataSourceAttribute Implementation

* Fixing TestContext for netcore

* CleanUp

* Removing dataTestMethodAttribute.cs

* Adding UnitTests

* Fixing test failures

* PR comments
2017-09-01 19:07:58 +05:30
Khilan Goel 1ff8116f03 Adding try catch block in Test script to Handle exception (#259)
* Adding try catch block in Test.ps1 to Handle exception
2017-08-31 14:34:40 +05:30
Khilan Goel ee81fb787f Using dotnet vstest to run .net core tests instead of vstest.console.exe (#257)
* Changing version of .net SDK

* Using dotnet vstest to run .net core tests instead of vstest.console.exe

* Address PR comments
2017-08-30 14:09:15 +05:30
Khilan Goel 7f93166945 Changing version (#256) 2017-08-29 16:27:27 +05:30
Khilan Goel 5665d78672 Fix for deployment Item attribute where it was fetching pdb file from symbol store. (#242)
* Fix for deployment Item attribute where it was fetching pdb file from symbol store.

* Addressing CR comments.
2017-08-16 10:28:06 +05:30
Khilan Goel aa6ad12547 Fix where Unit Tests were failing on local machine. (#240)
* Fix where UnitTests were failing on local machine.

* Addressing CR Comments.
2017-08-12 20:32:39 +05:30
Khilan Goel 552dba8916 Fix where Deployment Item attribute was not deploying items. (#237) 2017-08-08 22:16:16 +05:30
Abhitej John e3d6e822df Making all assert ctor's private and the classes sealed. We want users to extend from Assert.That instead and not by creating instances of the Assert class which does not have any instance methods. (#224) 2017-07-12 13:26:18 +05:30
irguzhav cf5a8b55f0 Test outcome none mapping (#219)
* Added new outcome to the public UnitTestOutcome enum, added mapping for the UnitTestOutcome.NotRunnable.

* Updated unit tests.
2017-07-11 01:24:25 +05:30
Jayarani garg 110a8c1068 Fixing build for latest 15.3 VS (#218)
* Fixing build for latest 15.3 VS

* Adding catch

* Finding VS Path usinf vswhere

* PR comments

* Fix indent
2017-07-10 18:40:17 +05:30
Jayarani garg 39ca47dfd2 Debug.WriteLine not working for netcore. (#222)
* Debug.WriteLine not working for netcore.

* Adding issue link
2017-07-10 18:25:27 +05:30
Jayarani garg 0722012df0 Multiple copies getting added while running tests using Intellitest (#220) 2017-07-10 15:29:41 +05:30
Jayarani garg 12275916f3 Renaming TestProperty Ids to keep them consistent with platform. (#221) 2017-07-07 14:26:34 +05:30
Jayarani garg b0e0d21f21 Fix for TestMethod failures masked by TestCleanUp exceptions (#215)
* Fix for TestMethod failures masked by TestCleanUp exceptions

* PR comments

* PR comments

* Fixing tests
2017-07-06 15:28:43 +05:30
Jayarani garg c2cda47a24 Adapter to honour CollectSourceInformation Flag and not DesignMode (#211)
* Adapter to honour CollectSourceInformation Flag and not DesignMode

* PR comments
2017-06-28 16:34:49 +05:30
Harsh Jain e924c3ca2e Populated RunConfiguration Settings for RunAll. (#208)
* Populated RunConfiguration Settings for RunAll.

* Added tests for DesignMode setting in run configuration.

* Updated name of test.
2017-06-28 11:14:34 +05:30
Jayarani garg 6933f0b39f Adapter should honour DesignMode flag (#205)
* Adapter should honour DesignMode flag

* PR comments

* PR comments
2017-06-23 17:39:41 +05:30
Jayarani garg 884ad2d259 Making EnableBaseClassTestMethodsFromOtherAssemblies as True by default (#204) 2017-06-23 17:31:03 +05:30
Harsh Jain 7e917765c0 Removed Attribute from the namespace for DynamicDataAtribute (#200) 2017-06-15 15:58:49 +05:30
Harsh Jain 50c26d1cfc Added TestDataSource and DynamicData attributes (#195)
* Dynamic Data attribute implementation.

* Added E2E tests.

* Added more tests.

* PR feedback.

* Added sealed for DynamicDataAttribute.

* Changed TestDataSource to ITestDataSource.

* Fixed failing tests.
2017-06-14 17:22:05 +05:30
Jayarani garg bf5fb4fc89 Updating Templates and Wizards for 1.1.18 release (#191) 2017-06-01 15:25:46 +05:30
Abhitej John 0609799c25 Fixed up a packaging issue in the test adapter and ensured that build fails whn pack fails. (#188) 2017-05-23 21:54:55 +05:30
mayankbansal018 91930168b7 Adding Server capabilities to UWP VB template (#187)
* Adding Server capabilities to UWP VB template

* updating version for vb template
2017-05-22 18:20:04 +05:30
Aidan Ryan f95b2f497f Fixes navigation for base class methods declared in other assemblies (#174)
* initial implementation of other-assembly method navigation

* NetCore FileOperations

* UnitTestDiscoverer unit test for DeclaredAssemblyName

* typeenumerator DeclaringAssemblyName test coverage

* dispose navigation sessions for all sources

* cleanup from review
2017-05-15 16:16:00 +05:30
Lars Celie 1663b1b545 fix #178 InstanceOfType on null value (#179)
* fix #178 InstanceOfType on null value

* removed obsolete nul checks

* add positive tests
2017-05-10 14:13:47 +05:30
Jayarani garg 25fba7179b VSManProjs for VB Template VSIXs (#176) 2017-05-04 16:17:29 +05:30
Jayarani garg 069dd94adb MSTestV2 VB Templates (#175)
* Base commit for Desktop and UWP VB templates

* Fixing build issues

* PR comments
2017-05-04 14:39:05 +05:30
branh 1a9b22856f Remove Microsoft.NETCore.UniversalWindowsPlatform from vstemplate wizard data. (#157) 2017-05-01 23:50:19 +05:30
Jayarani garg bd95f5756a Output Ignore Message for Ignored Tests (#165)
* Outpt Ignore Message for Ignored Tests

* PR comments
2017-04-26 14:26:10 +05:30