59 Commits
Author SHA1 Message Date
Julia Ni 504e10ad45 Migrate E2E tests to DartLab1ES (#7733) 2026-10-08 16:18:09 +10:30
Kartheek PenagamuriandJeff Kluge 78750a57a9 Update build infrastructure
Co-authored-by: Jeff Kluge <jeffkl@microsoft.com>
2025-05-09 09:43:35 -07:00
Nikolche Kolev 9e36f7708f Add a readme for the powershell based end to end tests (#5087) 2023-03-14 10:43:07 -07:00
Jeff Kluge 9ebbe50f56 Update calls to targets in config.props to account for multiple lines of output (#5075) 2023-03-07 12:16:46 -08:00
Kartheek Penagamuri ba8b492dc7 Unblock build failures changing VSTargetChannelForTests to use VS 17.4 version and skip a flaky apex test (#5007) 2023-01-12 16:42:25 -08:00
Jeff Kluge 2407dd2541 Use Directory.Build.props/targets/rsp in NuGet.Client repo (#4880) 2022-11-09 09:37:10 -08:00
Nikolche Kolev f36fee140e Remove PackageRestoreTest.ps1 E2E tests (#4515) 2022-03-31 11:22:34 -07:00
Kartheek Penagamuri 835733dec3 Run Apex tests on DartLab (#4283) 2021-10-07 10:30:09 -07:00
Andy Zivkovic 61713994c3 Run VS E2E tests on Dartlab (#4260) 2021-09-20 16:27:25 -07:00
Andy Zivkovic c0e8ac6ccd Run Apex test in suitable version of VS (#4117) 2021-06-18 08:09:59 -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
Andy Zivkovic 4af9b929e3 e2e script should empty temp directory (#4036) 2021-05-06 11:42:20 -07:00
heng-liu ba1cf1d106 change VS bootstrap channel to public preview to match the one on CI (#3414) 2020-05-29 13:04:23 -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
heng-liu c2466e779f fix channel, use int preivew (#3351) 2020-04-20 13:42:20 -07:00
heng-liu ecbb8a0f0d Ensure that ResumeVSInstall is running latest VS_Installer.exe (#3345)
* add updating vs installer
2020-04-16 23:44:13 -07:00
Andy Zivkovic 90f0a2cc44 Resume VS install when VSIX downgrade fails (#3184) 2020-01-09 09:02:54 -08:00
Damon Tivel 9c52f702ed Test: suppress NuGet UI in Apex tests (#2926)
Resolve https://github.com/NuGet/Home/issues/8325.
2019-07-12 16:12:29 -07:00
Damon Tivel ea3458258a Test: make E2E test execution more robust (#2914)
Interim workaround for https://github.com/NuGet/Home/issues/8292.
2019-07-03 15:01:27 -07:00
Damon Tivel cef58fa833 Test: remove tools folder from EndToEnd.zip (#2793)
Resolve https://github.com/NuGet/Home/issues/7962.
2019-04-19 13:10:46 -07:00
Damon Tivel b7ea032d12 Test: add script/nuspec to generate E2E test data package (#2804)
Progress on https://github.com/NuGet/Home/issues/7984.
2019-04-16 13:10:42 -07:00
Damon Tivel 27af96bdb7 Test: improve E2E failure diagnostics (#2781)
Resolve https://github.com/NuGet/Home/issues/7925.
2019-03-29 11:48:41 -07:00
Nikolche Kolev 74319cefe2 More E2E fixes (#2725)
* FSharp and Lock File E2E fixes
* enable apex test installation
* improve the message for the flaky test.
* fix template
2019-02-14 15:51:34 -08: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 3803820961 fix apex and e2e tests on CI (#2315)
* fix e2e tests yaml configs

* temp fix to make apex tests work

* fix errors related to generatetestpackages.exe

* fix e2e ci drop access
2018-06-25 12:16:42 -07:00
Rohit Agrawal 458267a113 format build number with full version (#2196)
* format build number with full version

* fix vsix update version

* get semantic version dynamically instead of hardcoding

* fix e2e test scripts to use the new format of buildnumber
2018-04-30 14:24:01 -07:00
Rohit Agrawal 1954c479b4 fix e2e failing to get DTE (#1941) 2018-01-11 09:05:34 -08:00
Rohit Agrawal (NUGET) 37aee2b611 fix the order in which activity log is copied 2017-12-28 22:47:48 -08:00
Rohit Agrawal 032e038115 copy activitylog to ci drop (#1913)
* enable copying of activitylog to ci drop

* copy activitylog to ci on e2e failure

* fix formatting
2017-12-28 20:54:25 -08:00
Rohit Agrawal fa11f00681 force kill all running instances of devenv for each install/downgrade attempt (#1881)
* force kill all running instances of devenv for each install/downgrade attempt

* add kill devenv for vs14 as  well

* kill all running processes under the visual studio folder

* add retry logic to ExecuteCommand

* improve formatting

* fix boolean value of success

* fix exception logging using psitem
2017-12-18 23:58:31 -08:00
Rohit Agrawal 7537e3a59c enable yaml based builds and other engineering improvements (#1872)
* enable yaml based builds and testing for nuget

* add retry logic to installation and downgrading of vsix

* fix delay signing on apex DLLs

* add admin switch for vsix installation

* install nuget vsix should not fail on standard error

* fix publishing of e2e result step

* disable v2feedparser third party server tests by not downloading config files

* add initial build number format

* fix e2e publishing for real

* keep running tests on unix if unit or func tests fail
2017-12-14 14:12:56 -08:00
Rohit Agrawal f60f2643c3 Fix error logging in E2E tests (#1721)
* fix error logging to be a single line

*  add error if test times out

* fix code review feedback
2017-09-27 18:25:29 -07: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
Nikolche Kolev 89be8024c9 Don't check for the success status of the downgrade 2017-07-14 10:52:31 -07:00
Damon Tivel 8ba36d0e21 Improve E2E test setup time (#1520) 2017-06-28 12:18:17 -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
Ankit Mishra c05d0d90ee Fixing downgrade script for E2E for VS versions that do not support vsix downgrade (#1475) 2017-06-07 18:32:23 -07:00
Ankit Mishra c0cfe2a4f2 Improving logging in E2E install scripts (#1468) 2017-06-06 15:27:23 -07:00
Nikolche Kolev e585496bb8 Fix vsix installation scripts (#1401)
Fix vsix installation scripts
2017-06-02 15:20:47 -07:00
Rohit Agrawal 8e0a216f78 update assembly version of nuget dlls to 4.3.0.2 (#1400)
* update assembly version of nuget dlls to 4.3.0.2

* Updating E2E script to prefer a preview over stable installation of VS2017

*  add property for netcoreassemblybuildnumber

* update release label
2017-05-24 12:32:31 -07:00
Ankit Mishra 9284d49380 Changing E2E setup to test with Insertable vsix and some test fix (#1247) 2017-03-20 11:49:37 -07:00
Nikolche Kolev 925a126c35 Don't install VSIXs in the admin extension location 2017-02-15 23:32:14 -08:00
Nikolche Kolev 2e549d9e75 Look for the VS Folder path in a different directory for VS15 (#1193) 2017-02-15 23:28:00 -08:00
Ankit Mishra a1d5c371b8 Improve E2E script to prevent failure if VSIX not installed (#1137) 2017-01-19 15:07:09 -08:00
Ankit Mishra 87539c6e3c fix the path for picking up NuGet.exe for E2E tests(#1127) 2017-01-17 11:10:38 -08:00
Ankit Mishra 3187dc2135 Removing packing of NuGet.exe in EndToEnd.zip (#1123) 2017-01-13 16:17:32 -08:00
Ankit Mishra e26dc57fb9 Fixing e2e path for new install (#982) 2016-10-28 17:30:11 -07:00
Ankit Mishra 4649d297c7 Fix VS Install path for d15prerel based dev15, for our E2E tests (#957) 2016-10-24 12:19:32 -07:00