Commit Graph

17302 Commits

Author SHA1 Message Date
Pranav K 1bd9dd46e1 Adding switch to build.cmd to skip KRE install 2014-06-03 10:14:14 -07:00
Pranav K f467b1f8f3 Adding switch to build.cmd to skip KRE install 2014-06-03 10:11:51 -07:00
Louis DeJardin 2334fe6dc8 Marking the unit test project target framework explicitly 2014-06-02 17:29:38 -07:00
Louis DeJardin 1b412bc99f Adding libuv p/invokes 2014-06-02 16:32:31 -07:00
Louis DeJardin 3404100f08 Adding empty projects and solution 2014-06-02 16:31:33 -07:00
Louis DeJardin f099426a9e Adding empty project structure 2014-06-02 16:24:55 -07:00
Praburaj 516251a1c3 Enabling self-host variation of the MusicStore tests
With this change the tests run on Helios+DesktopCLR and Self-Host+DesktopCLR.
2014-06-02 12:17:57 -07:00
David Fowler 63f643e0c1 Fix up the project/sln files 2014-05-31 00:04:06 -07:00
David Fowler 04ca5e968d Fixed tests 2014-05-30 22:32:37 -07:00
Chris Ross 25db412332 Clean up IApplicaitonLifetime service injection. 2014-05-30 16:30:51 -07:00
Chris Ross 43ae61f7bc #23 - Implement graceful shutdown. 2014-05-30 15:49:14 -07:00
Praburaj 6cd501c5f7 Work around for the identity bug to unblock CI test
Identity internally overrides the explicitly specified connection string by overriding it with a default value. This results in reusing a default database causing test failures. Until identity is fixed this is a work around.
2014-05-30 12:19:19 -07:00
Pranav K 9d3b449f9f Use '\n' instead of Environment.NewLine when tokenizing multi-line resx
statements

Fixes #76
2014-05-29 16:43:02 -07:00
Brice Lambson 9cb6325bf3 React to aspnet/EntityFramework#264 2014-05-28 14:36:10 -07:00
Hao Kung 083601c539 Add options services to Startup 2014-05-28 13:43:13 -07:00
Ryan Nowak 9a960a5831 Adding scripts for stylecop 2014-05-28 12:53:40 -07:00
Hao Kung 043dbb2940 Changes for OptionsModel 2014-05-28 12:51:48 -07:00
Hao Kung a2fd1e1d90 Remove options services from UseServices
Add OptionsModel.OptionServices.DefaultServices instead
2014-05-28 12:09:29 -07:00
Praburaj c356d8e824 Printing out cold start time, test runtime and total time 2014-05-28 11:08:33 -07:00
Praburaj fdfaeacbf1 Adding a scenario to login with latest password after a password change
Removed init of class member variables to null per a CR feedback.
2014-05-28 10:42:40 -07:00
Praburaj b8782ee2bf Adding a REST method to the StoreManagerController for automation purpose.
Adding this action to get Id of an album given an album name.
2014-05-27 17:29:19 -07:00
Praburaj de955c6d90 Adding some more logging for DB clean up
Added a scenario to verify the created album.
2014-05-27 17:27:48 -07:00
DamianEdwards eb9ee643a1 Fix Spa after breaking change in MVC
- Reordered TypeScript targets to before AspNet targets to fix build in VS issue
- Refactored the TryUpdateModel workaround in BaseController
2014-05-27 16:54:10 -07:00
Praburaj ba2afd923b Renaming some variables
Renaming some variables
Moving the httpClient and httpClientHandler variables to class level variables to avoid passing them in for every method call.
2014-05-27 16:29:50 -07:00
Praburaj 0afe8ad557 Fixing the test code to create a db for every test run
This also includes the cleanup code. I inject the new DB connection string overrides as environment variables.
2014-05-27 13:55:26 -07:00
ajcvickers ad49e49b7f Pass DbContextOptions directly to base DbContext constructor. 2014-05-27 12:48:24 -07:00
David Fowler aa76fe3b4f Fixed project.json casing 2014-05-27 00:23:05 -07:00
David Fowler 44eddb1a97 Fixed project.json casing 2014-05-26 02:54:11 -07:00
David Fowler 124749de28 Fixed project.json casing 2014-05-26 02:49:34 -07:00
David Fowler 49196aaec3 Fixed project.json casing 2014-05-26 02:47:54 -07:00
David Fowler 57717dd325 Fixed casing of project.json 2014-05-25 10:04:11 -07:00
David Fowler e5724c7301 Renamed Project.json to Project.json2 2014-05-25 10:04:11 -07:00
David Fowler f656f0dfe2 Fixed casing of project.json 2014-05-25 10:03:44 -07:00
David Fowler 07daba4457 Renamed Project.json to Project.json2 2014-05-25 10:03:44 -07:00
Praburaj 11a71e950d Adding some more test scenarios to MusicStore and moving the scenarios in methods. 2014-05-23 16:11:56 -07:00
Praburaj 8409e9518b Catching up MusicStore app with code generated with latest templates 2014-05-23 14:35:08 -07:00
Praburaj d4303238e9 Fixing a log which was not printing the user name instead printed {0} 2014-05-23 11:54:00 -07:00
Praburaj 01210af151 Adding more logging for the test
Adding some helper methods for hosting variation
Divided the Utility class by the purpose of the helpers.
2014-05-23 11:27:42 -07:00
David Fowler d8ef441454 Updated build.sh 2014-05-23 04:16:20 -07:00
David Fowler 3eb2f6c032 Updated build.sh 2014-05-23 04:11:24 -07:00
David Fowler 92e0c16499 Made universe mono ready
- Added build.sh to universe
- Updated makefile to run build.sh instead of build.cmd
- Updated build.sh script
2014-05-23 03:15:48 -07:00
David Fowler 22c9264a79 Added NuGet.config 2014-05-23 02:38:24 -07:00
DamianEdwards 8ed77f290d Fix build break 2014-05-22 18:36:33 -07:00
DamianEdwards 464bf577bc Look for signtool.exe in absolute paths 2014-05-22 18:33:14 -07:00
DamianEdwards a16d9b41d8 Tweaking connection strings to avoid conflicts between the projects 2014-05-22 17:03:08 -07:00
DamianEdwards 6d5e709b85 Add tasks for:
- Installing node locally
- Running node
- Installing npm packages
- Install bower packages
- Running grunt
2014-05-22 16:36:57 -07:00
Praburaj 81e1e00d78 Removing k.ini to run against latest KRE version 2014-05-22 12:23:56 -07:00
Praburaj 523ac1c091 Adding some logging for test failure investigation 2014-05-22 12:17:44 -07:00
Praburaj 273c252db0 Adding some tests for MusicStore
It executes a set of scenarios:
1. Launches the app in Helios and navigates to the home page and verifies
2. Make a request to a protected resource and verifies that request is redirected to the login page
3. Registers a user with a dynamically generated user name and verifies the user is created and logged in by verifying the cookies and display name in the home page.
4. Go back to the StoreManager controller which requires a specific permission and verifies that still we are being redirected to Login page.
5. Logoff of the current user session and verify the user is logged off and cookie cleared.
6. Login this time with Administrator user who has permission to manage store and verify successfully logged in
7. Verify that this time the user can access the StoreManager controller
8. Create an album and verify that album is successfully created.
9. Logout of the app and verify.
2014-05-22 11:55:02 -07:00
DamianEdwards 05d21fb249 Removing grunt tasks as they'll come from core tasks 2014-05-21 22:42:34 -07:00