Commit Graph

14 Commits

Author SHA1 Message Date
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
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 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 f028839b5d Workaround for publishing issue 2017-11-17 11:02:03 +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 1e5a3cf59c Trivial string tweak 2017-09-08 23:19:57 +01: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 12a8e29288 Add basic browser automation tests for SPA templates (Windows only) 2017-09-05 16:19:04 +01:00
Steve Sanderson a7593fdd19 Move tests to conventional location so they run automatically on build 2017-08-30 23:30:37 +01:00