12 Commits
Author SHA1 Message Date
Julia Ni 504e10ad45 Migrate E2E tests to DartLab1ES (#7733) 2026-10-08 16:18:09 +10:30
Andy Zivkovic 61713994c3 Run VS E2E tests on Dartlab (#4260) 2021-09-20 16:27:25 -07:00
Andy Zivkovic 3dc7b4d3c2 NuGet.Client builds: Don't use Visual Studio version in bin, obj folder paths (#4109) 2021-06-15 14:12:59 -07:00
Erik De Bonte 9f2da3906b Update to dev17 VSSDK 2021-06-05 04:45:14 -07:00
Rob Relyea 25367b02e7 moved some mef imported/exported types to enable VS.OE (#3359)
* shuffled some types into different assemblies in n.client assemblies so that they can be shared from n.tools and n.vs.oe.client
* Improve error output in E2E tests
* add trap to RealTimeLogResults
* fix null ref in e2e tests and improve trap
* ensure DLL is built before we try to load it during build to get strong name
* Use BuildVariationFolder instead of VisualStudioVersion property
2020-05-04 12:28:31 -07:00
Nikolche Kolev bacd787e1e Fix the End to End tests (#2721)
* Fix the end to end tests

* fix relative path

* use a better version of the vsix isntaller
2019-02-12 10:27:14 -08:00
Patricio Beltran 1d25f30c3b Remove dev14 references in source code (#2341) 2018-11-14 15:31:01 -08:00
Rohit Agrawal 1954c479b4 fix e2e failing to get DTE (#1941) 2018-01-11 09:05:34 -08:00
Rohit Agrawal 79a745606a Improve E2E infra and adapt to VSTS (#1714)
* remove clearing recycle bin

* add logging for vso

* kill running instances of vs regardless

* do not fail if a test times out

* fix logging typo

* more powershell fixes

* re-enable uwp specific tests

* fix termination condition of tests

* change how test result file gets copied to CI machine

* breaking out of while loop and more logging

* fix path issue for results.html

* more fixes in termination condition

* diagnosing parsing errors for first two tests

* log currently running test and fix log.txt logging

* log to console from log.txt using currentTestId

* trying to fix initial logging issue with one line in realtimeresults

* remove unnecesary diag logging

* fix log formatting and add back write-error in case of failure

* fix count of tests and logging

* fix numbering of test and re-enable commented code

* count tests after all assemblies have been loaded

* adding try catch block

*  fix try-catch

* fix numbering for test case factory scenario

* changes to parsing realtimeresults

* first pass at junit xml results

* write out junit test result file

* implement missing API in InternalApiTestHook for project.json migrator

* fix logging test results duration to junit

* start copying log and results file to nuget drop share

* update UwpPackageRefClassLibrary template

* fix project.json migrator uwp e2e test

* fix uwp package ref test

* fix new-item cmdlet to create directory instead of file

* change where to output full log in build drop

* change name of uwpclasslibrary project template

* get screenshot if test times out

* get screenshot only iff running on CI

* fix uwp migrator project json test

* fix nit

* don't queue functional tests via rest api

* fix screen capture type not found exception

* add mono to path explicitly

* echo path in mono and mac and output version

* no need to add mono to path
2017-09-26 14:27:28 -07:00
Alex Panov 0d2b804db0 End-to-End tests for LSL scenarios (#1483)
Resolves NuGet/Home#5258.

Added tests for basic scenarios per each project model supporting LSL
mode: `packages.config`, `project.json`, `PackageRef`.

Updated E2E test infrastructure to support test extension cmdlets and
running "theories". Added ability to skip tests for specific VS version.
Also added missing templates for unit-test project and native C++ console application.

Addressed PR feedback
2017-06-14 11:06:17 -07:00
deepakaravindr 1756e1e0db Functional Test Hang Fix.
Root cause: Accessing DTE and other related COM objects from a background
thread like powershell's pipeline execution thread is highly discouraged
as it can cause random hangs and crashes.

Fix: Move all the powershell utility methods into C# where you can safely
switch to UI thread before accessing the DTE and other related COM objects

What does this commit contain?
Added a few static helper classes which performs all the operations
that the powershell VS helper methods used to to. In particular, all the
DTE access have been moved into C# and it accessed from the UI thread.

What is pending?
Still, there are references to DTE.Project objects. Technically, this
can cause hangs and crashes too. And, it will be fixed in phase-II
in a different commit.
2016-02-24 13:25:05 -08:00
Justin Emgarten c8ab7dcc0e Adding +x to scripts/funcTests/run.sh 2016-02-16 18:13:20 -08:00