Output is more useful (IMO). Everything is silenced for the duration of
the tests but a count of tests/failures and any errors are output at the
end. Pass --verbose to watch stdout during the tests.
Logic is also seperated into core setup/runners and individual test
definitions. Should be more easily extensible.
Output is more useful (IMO). Everything is silenced for the duration of
the tests but a count of tests/failures and any errors are output at the
end. Pass --verbose to watch stdout during the tests.
Logic is also seperated into core setup/runners and individual test
definitions. Should be more easily extensible.
Yesod.Settings provides load functions which were previously scaffolded.
They load the ConsStrs for SQL and ConnParams for Mongo.
This prevents the need for a lot of the imports in the scaffolding
settings and simplifies the existing Text import.
This amendment should make commit
9eef4829ad a non-breaking change, except
possibly causing some warnings about duplicate exports with
Yesod.Form.Types.
Yesod.Settings provides the typical definitions for AppConfig,
AppEnvironment, and loadConfig (read from YAML).
Yesod.Main provides a single defaultMain function which accepts your
usual withSiteArg function and runs via Warp calling the now provided
loadConfig to figure out what to do.
Note: Yesod re-exports Y.Settings and Y.Main -- This is probably not the
right thing to do since it would cause collisions with users not using
the provided functionality (including all existing users).