Nate McMaster
006d111e3b
Merge branch 'release/2.1' into dev
2018-06-07 08:41:25 -07:00
Nate McMaster
a5bb91c2cb
Prevent 2.1 template tests from corrupting machine state
2018-06-05 10:13:33 -07:00
Ryan Brandenburg
15ca3dcdaa
Move templates to netcoreapp2.2
2018-05-18 09:28:12 -07:00
John Luo
a8c3615df4
React to implicit Microsoft.AspNetCore.App reference
2018-04-19 16:49:13 -07:00
Jass Bagga
cec6363c5a
Merge branch 'release/2.1' into dev
2018-04-03 10:46:36 -07:00
Jass Bagga
0a5a963bb0
Use dotnet-ef package ( #433 )
...
Addresses #429 and #378
2018-04-03 10:36:06 -07:00
Pranav K
948a2537da
Merge remote-tracking branch 'origin/release/2.1' into dev
2018-04-02 16:17:07 -07:00
Pranav K
d1b745f249
Use Razor.Sdk package to verify templates
...
Fixes #400
2018-04-02 16:15:32 -07:00
Jass Bagga
79cc52d903
Merge pull request #418 from aspnet/release/2.1
...
--no-https option for RazorPagesWeb-CSharp template (#362 )
2018-03-29 13:49:46 -07:00
Jass Bagga
aca30fe8a2
--no-https option for RazorPagesWeb-CSharp template ( #362 )
2018-03-29 13:49:20 -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
Hao Kung
edaf72c7fc
Add update migrations script ( #376 )
2018-03-20 09:45:53 -07:00
Hao Kung
d682c971b7
Add test for ensuring that migration is current ( #344 )
2018-03-08 12:12:13 -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
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
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
7961894771
Re-enable test parallelization. Fixes #63 .
2017-11-20 10:58:56 +00: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
Steve Sanderson
967c1a50b8
Use Xunit's ITestOutputHelper throughout. Other minor tidy-ups.
2017-09-08 15:24:18 +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
9f88d16cc4
Only run browser automation tests if host OS supports it
2017-09-05 17:33:49 +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