Pranav K
f166d0b8a8
Merge remote-tracking branch 'origin/release/2.1' into dev
...
# Conflicts:
# build/dependencies.props
# korebuild-lock.txt
2018-03-29 12:23:18 -07:00
Pranav K
5ae68a012c
Re-enable F# template tests
...
Fixes https://github.com/aspnet/templating/issues/365
2018-03-29 12:21:35 -07:00
Javier Calvarro Nelson
9336ee1b74
Merge branch 'release/2.1' into dev
2018-03-26 21:01:32 -07:00
Javier Calvarro Nelson
a8246e2a99
[ Fixes #327 ] Replace AAD template code with packages
...
* Add Microsoft.AspNetCore.Authentication.AzureAD.UI package.
* Add Microsoft.AspNetCore.Authentication.AzureADB2C.UI package.
* Remove AccountController.
* Remove Pages/Views related to authentication.
2018-03-26 20:37:46 -07:00
Jass Bagga
83966930d3
Skip WebApiTemplate_Works_NetCore test temporarily ( #401 ) ( #403 )
2018-03-24 17:45:51 -07:00
Jass Bagga
1fe30aabbe
Skip WebApiTemplate_Works_NetCore test temporarily ( #401 )
2018-03-24 17:45:24 -07:00
John Luo
b449373a5f
Merge branch 'release/2.1' into dev
2018-03-23 12:10:17 -07:00
John Luo
e3894a4609
Remove EF.Tools reference
2018-03-23 12:09:46 -07:00
Kiran Challa
88f8f97702
Merge branch 'release/2.1' into dev
2018-03-20 13:47:26 -07:00
Kiran Challa
69f52cc3b6
Removing Microsoft.AspNetCore.SpaTemplates project and friends
2018-03-20 13:46:11 -07:00
Hao Kung
edaf72c7fc
Add update migrations script ( #376 )
2018-03-20 09:45:53 -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
Steve Sanderson
cb500fe3b8
Account for non-installed templates when preparing test run
2017-09-11 17:41:24 +01:00
Steve Sanderson
1a50c968c4
Update tests to cover 2.1 templates
2017-09-11 16:25:51 +01:00
Steve Sanderson
1e5a3cf59c
Trivial string tweak
2017-09-08 23:19:57 +01:00
Steve Sanderson
5178efb17b
Fix thread safety issue that was causing intermittent build failures
2017-09-08 19:23:48 +01:00
Steve Sanderson
967c1a50b8
Use Xunit's ITestOutputHelper throughout. Other minor tidy-ups.
2017-09-08 15:24:18 +01:00
Steve Sanderson
2fa1fe8ce2
Fix build output so that versioned packages go into the correct directory when run through KoreBuild
2017-09-08 15:24:15 +01:00
Steve Sanderson
6cf4cbd736
Minor clarification to SPA test code
2017-09-08 15:24:14 +01:00
Steve Sanderson
9174ca79fa
Test both dev and published apps
2017-09-06 12:30:27 +01:00
Steve Sanderson
7e8d48cd80
On AppVeyor, must use Firefox (not Edge) for Selenium tests
2017-09-06 11:46:46 +01:00
Steve Sanderson
4a4dcbab3d
Specify Node version for AppVeyor builds. Indicate whether browser automation tests are running.
2017-09-06 11:12:16 +01:00
Steve Sanderson
9f88d16cc4
Only run browser automation tests if host OS supports it
2017-09-05 17:33:49 +01:00
Steve Sanderson
87a293ea69
Work around build warning issue
2017-09-05 16:28:24 +01:00
Steve Sanderson
12a8e29288
Add basic browser automation tests for SPA templates (Windows only)
2017-09-05 16:19:04 +01:00
Steve Sanderson
95f2b8d375
Add basic tests for SPA templates (no browser automation yet)
2017-09-05 12:09:43 +01:00
Steve Sanderson
a7593fdd19
Move tests to conventional location so they run automatically on build
2017-08-30 23:30:37 +01:00
Steve Sanderson
18dee25eb9
In tests, use dynamic port binding to avoid need for any coordination across simultaneous tests
2017-08-30 22:02:11 +01:00
Steve Sanderson
1255418146
Modernize build system (use Directory.Build.* and KoreBuild lineups)
2017-08-30 14:46:37 +01:00
Steve Sanderson
0dfb43b15a
Install latest build of templates before running tests
2017-08-29 17:48:51 +01:00
Steve Sanderson
1f9dd4db5d
Replace JSON test DSL with regular C# Xunit tests for consistency with other ASP.NET repos
2017-08-29 17:48:50 +01:00
Steve Sanderson
58211f89c7
Begin adding regular Xunit test project like other ASP.NET repos
2017-08-29 17:48:50 +01:00