Enables automated testing of urls and redirects with querystring
Adds bindings for:
-Creating account with a fixed set of permissions
-Login of a user
-Success criteria for seeing text on a page
-Success criteria for being denied access to a page
--HG--
branch : dev
extra : rebase_source : 66e7b33cf7a596050d27eda6351605ed86420af2
The SpecFlow test for dynamic compilation wasn't actually trigering
dynamic compilation for all modules, because some of the were copied
to the "~/bin" assembly of the hosted ASP.NET application used for
SpecFlow testing.
This now works as expected, and we have 3 tests for this: one with
dynamic compilation enabled, one with dynamic comilation disabled,
and one with forced dynamic compilation (other loaders disabled).
--HG--
branch : dev
When setting up specflow tests, we ended up copying the full content
of the "bin" folder of every module. These folder contain not only
the module assembly, but also many other assemblies used by the
Orchard framework (the framework itself, and all dependencies).
We know skip these files, which dramatically decreases the amount of
file I/O needed to start these tests.
Also adding logging to trace what's going on during initialization.
--HG--
branch : dev
It hasn't been needed since MVC2, and it now broken with MVC3.
--HG--
branch : dev
extra : transplant_source : N%CA%B4%F6%13%9C%BE%2AL%14z_%13%A9%90cF%00%DCn
* Remove un-used machine key
* Increase "numRecompilesBeforeAppRestart" default value (15) to (1000) so
that the AppDomain used for hosting the ASP.NET domain doesn't get unloaded
during the test.
--HG--
branch : dev
- current implication for blogs is that if a blog is set as the home page its posts are then all rooted (e.g. if a blog at
/blog is set as the home page then it's available at / and a post at, say, /my-post instead of /blog/my-post). There should
maybe be a setting to alter the paths of the posts but (1) that's a pain at the moment, (2) hacking the URL by removing
the post slug would result in a 404 instead of redirecting to /, the path of the blog - we don't handle redirects of that
nature - and (3) the ability to root a blog in this manner *has* been requested by some.
--HG--
branch : dev