Commit Graph

25 Commits

Author SHA1 Message Date
Nate McMaster 654debe8fb
Merge branch 'master' into merge/release/2.2-to-master 2018-10-24 17:51:56 -07:00
Nate McMaster 7bde7399e9
2.2: remove Microsoft.VisualStudio.Web.CodeGeneration.Design from templates (#802)
This package does not need to be in the project until someone uses Visual Studio code generation. Visual Studio will automatically add this package when scaffolding is used for the first time, so it's unnecessary to put this in our templates.
2018-10-24 17:42:02 -07:00
Ryan Brandenburg 2d33543117 Skip test broken by lack of 30 SDK 2018-08-20 10:28:31 -07:00
Ryan Brandenburg d95f971693 Fix broken tests 2018-08-06 07:22:55 -07:00
Jass Bagga 0a5a963bb0
Use dotnet-ef package (#433)
Addresses  #429 and #378
2018-04-03 10:36:06 -07:00
Jass Bagga 2f9ce959ea
Target net461 for all tests (#420) 2018-03-29 14:38:47 -07:00
Jass Bagga cb7942abe4
Add no-https option for all templates (#413)
Addresses #322
2018-03-29 13:59:47 -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
John Luo e3894a4609 Remove EF.Tools reference 2018-03-23 12:09:46 -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 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
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 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
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 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
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
Javier Calvarro Nelson a80061f42b Move Identity to an Area for 2.1 2017-10-16 10:54:17 -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
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 a7593fdd19 Move tests to conventional location so they run automatically on build 2017-08-30 23:30:37 +01:00