Commit Graph

70 Commits

Author SHA1 Message Date
John Luo e3894a4609 Remove EF.Tools reference 2018-03-23 12:09:46 -07:00
Kiran Challa 69f52cc3b6 Removing Microsoft.AspNetCore.SpaTemplates project and friends 2018-03-20 13:46:11 -07:00
Jass Bagga cbdc7bd3b8
Remove tools references and explicit EF.Design reference (#370)
Addresses #99 and #357
2018-03-19 16:27:54 -07:00
Jass Bagga 3ee212cef2
Clean up test (#382) 2018-03-19 16:14:20 -07:00
Jass Bagga 6444acedfd
Fix BOM test paths for Unix (#377) 2018-03-19 16:05:49 -07:00
Jass Bagga 79b4cafe68
Remove BOM from json files (#369)
Addresses #276
2018-03-19 10:11:00 -07:00
Jass Bagga 5f149cfa9c
Skip F# net framework test (#363) 2018-03-15 15:56:16 -07:00
Hao Kung d682c971b7
Add test for ensuring that migration is current (#344) 2018-03-08 12:12:13 -08:00
Nate McMaster 456121af8b
Fix #320 - skip the certificate error page in Edge 2018-02-12 15:42:51 -08:00
Ryan Brandenburg 2d6d29270b Revert "Skip flaky tests"
This reverts commit cff1d46ac9.
2018-02-05 11:11:53 -08:00
Ryan Brandenburg cff1d46ac9 Skip flaky tests 2018-02-02 13:48:49 -08:00
John Luo bd9e53015d Merge branch 'release/2.1' into dev 2018-02-01 14:48:34 -08:00
John Luo 94cfac8ec6 Use Microsoft.AspNetCore.App in templates
- Add BrowserLink and Sqlite for Razor and StarterWeb templates when required
- Add tests for LocalDB scenarios
2018-02-01 12:52:05 -08:00
Nate McMaster e3b23a9fd8 Merge branch 'release/2.1' into dev 2018-01-25 12:27:21 -08:00
Nate McMaster 9000769449 Update tests to only bind to the loopback IP address
Prevents dozens of firewall prompts from appearing while running tests
2018-01-25 12:25:34 -08:00
Jass Bagga 1669e39735
Add firewall exclusions for test executables (#244) 2018-01-24 15:11:28 -08:00
Jass Bagga 767a857635
Set CompatibilityVersion for templates (#240)
Addresses #235
2018-01-18 16:11:09 -08:00
Nate McMaster 26833a02b1
Remove DotNetCliToolReference to dotnet-user-secrets (#212) 2017-12-29 14:27:31 -08:00
Javier Calvarro Nelson 5325c65b88 Replace identity code with built-in version on the templates 2017-12-29 11:45:10 -08:00
Javier Calvarro Nelson 8c94d27d6a [Fixes #181] Go back to server selected listening ports. 2017-12-28 19:00:29 -08:00
Jass Bagga 886a985726 Target netcoreapp2.1 2017-12-28 17:01:30 -08:00
Javier Calvarro Nelson 4d2e642b94 Add launchSettings.json by default to our templates
* Adds launchSettings.json to all of our templates.
* Provides an alternative flag to exclude it.
* Adds HTTPS support in launchSettings.json.
* Re-adds HTTPS redirect and HSTS middleware for C# templates.
* Improves some infrastructure aspects:
    * Prefix all our test projects with AspNet.Template to allow easy
      killing of orphaned processes.
    * Setup an HTTPS certificate automatically for use with tests in the
      same way our tooling does it on customers machines.
    * Switch from OS selected ports to randomly selected ports. This is
      required as we need to know the port to use for HTTPS.
    * Allow disabling browser automation through an environment variable.
    * Setup Firefox to allow untrusted certificates when using Selenium.
    * Allow running Selenium tests on firefox by setting an environment
      variable.
2017-12-08 13:08:36 -08:00
Steve Sanderson 1f92811ce0 Make AppVeyor builds more consistent by allowing retry for "npm install" 2017-11-24 11:02:05 +00:00
Steve Sanderson 76cb441a8e On test completion, kill the ASP.NET process tree (otherwise orphan processes are left behind) 2017-11-20 23:03:44 +00:00
Steve Sanderson 352d05030b Remove Yarn usage as results were not consistent with npm-shrinkwrap.json 2017-11-20 22:30:56 +00:00
Steve Sanderson 21b15803ae In tests, restore NPM dependencies using yarn if installed 2017-11-20 14:39:25 +00:00
Steve Sanderson 62a8eafe51 Distribute SPA templates over multiple test classes so they can run in parallel 2017-11-20 11:29:09 +00:00
Steve Sanderson 7961894771 Re-enable test parallelization. Fixes #63. 2017-11-20 10:58:56 +00:00
Steve Sanderson fad4fb22fa Remove test workaround that is no longer needed now the underlying issue is resolved 2017-11-17 15:10:57 +00:00
Steve Sanderson a76a891865 Workarounds to make SPA template tests work 2017-11-17 11:02:41 +00:00
Steve Sanderson 849a0843c9 Fixes for constructing IWebDriver 2017-11-17 11:02:25 +00:00
Steve Sanderson f028839b5d Workaround for publishing issue 2017-11-17 11:02:03 +00:00
Steve Sanderson 2dda2dd99d Stop tests from hanging if the ASP.NET process fails to exit 2017-11-17 11:01:32 +00:00
Nate McMaster 0ebece7f44 Update tests to remove any template that might match 'ASP.NET Core Empty' 2017-11-09 17:14:01 -08:00
Nate McMaster aee0d26d67 Merge build infrastructure changes from rel/2.0.3
Changes:
- Replaces PackageLineup with the dependencies.props approach to manage package versions.
- Generate the csproj/fsproj files that go into template packages
- Remove the DependencyUpdater and PullRequestSubmitter tasks
- Remove bower.json and bowerrc from Microsoft.DotNet.Web.ProjectTemplates
- Set MyGet feeds via MSBuild instead of NuGet.config
- Upgrades to the functional tests
- Update Selenium
- Make it possible to run tests on macOS/linux
- Disable test parallelization
2017-11-06 16:06:24 -08:00
Nate McMaster 09161305bb Reorganize repo branch and project folder structure
When the code lived in dotnet/templating, the 1.x, 2.0, and 2.1 templates all needed to sit side-by-side.
Now that this code builds from aspnet/templating, we're reorganizing the folder and branch structure to
match the aspnetcore runtime repos.

Branches:

rel/1.1.5 = Microsoft.DotNet.Web.ProjectTemplates.1.x
rel/2.0.3 = Microsoft.DotNet.Web.ProjectTemplates.2.0
dev = Microsoft.DotNet.Web.ProjectTemplates.2.1

Changes:
Remove the 2.0 and 1.x templates projects from this branch
2017-11-06 15:54:02 -08:00
Nate McMaster 1ffcf2c009 Reorganize repo branch and project folder structure
When the code lived in dotnet/templating, the 1.x, 2.0, and 2.1 templates all needed to sit side-by-side.
Now that this code builds from aspnet/templating, we're reorganizing the folder and branch structure to
match the aspnetcore runtime repos.

Branches:

rel/1.1.5 = Microsoft.DotNet.Web.ProjectTemplates.1.x
rel/2.0.3 = Microsoft.DotNet.Web.ProjectTemplates.2.0
dev = Microsoft.DotNet.Web.ProjectTemplates.2.1
2017-11-06 10:19:59 -08:00
Steve Sanderson 1a8ebaf77a Update tests to use newer name for 'webapi' template 2017-10-31 17:17:35 +00:00
Steve Sanderson 38ce406c6e Make tests not fail just because a same-named env var was already present 2017-10-31 15:37:35 +00:00
Steve Sanderson a067713a96 Fix test logic for verifying template uninstallation. Now respects global.json for SDK selection. 2017-10-31 15:32:56 +00:00
Javier Calvarro Nelson a80061f42b Move Identity to an Area for 2.1 2017-10-16 10:54:17 -07:00
Nate McMaster a4ba5a1cb1 Disable tests in parallel 2017-10-12 17:24:37 -07:00
Nate McMaster 5541615008 Automate dependency version selection
- Generate the template config file to include package versions as listed in dependencies.props
 - Update template cs/fsproj files to use variables per package
 - Fixup tests to run better on Linux/macOS
2017-10-12 16:44:55 -07:00
Nate McMaster 4d9bacd3f1 Update build scripts and targets to use 2.0.x build tools 2017-10-12 14:09:16 -07:00
Nate McMaster c770f287a5 Remove the 2.1. templates from the rel/2.0.x branch 2017-10-12 14:03:51 -07:00
Steve Sanderson c39c1aaa38 Move 2.1 templates to netcoreapp2.0 until we use an SDK that supports netcoreapp2.1 2017-09-11 18:53:59 +01:00
Steve Sanderson 8c0dd1d2cc Fix for CI agents having extra template package already installed 2017-09-11 18:41:58 +01:00
Steve Sanderson b38f0dbc7a Change tests to use 2.0 templates until SDK is updated 2017-09-11 18:32:54 +01:00
Steve Sanderson 56fdcad4d5 Also uninstall the 2.0 template package when reinstalling for tests 2017-09-11 18:17:13 +01:00
Steve Sanderson 148e4af837 Make template package uninstallation detection report errors properly 2017-09-11 18:13:15 +01:00