yesod-auth-oauth2/test
patrick brisbin 9b028535bd
Add potential, currently non-functioning tests
Approach so far:

The SpecHelper sets up an example App type which should (theoretically)
be enough to get some fake requests and responses going, as in any
yesod-test-based suite.

The spec then tries to build an example plugin and make assertions on
how it dispatches. This is currently falling down on subsite-related
type errors (see commented attempts).

Another potential direction is to define the YesodAuth instance for App
to specify authPlugins built using the library. With that, we might be
able to create specs using yesod-test that exercise aspects of the
plugins in an indirect way, but enough to make useful assertions.
2016-01-04 13:02:09 -05:00
..
Yesod/Auth Add potential, currently non-functioning tests 2016-01-04 13:02:09 -05:00
Spec.hs Add basic testing infrastructure 2016-01-03 10:36:52 -05:00
SpecHelper.hs Add potential, currently non-functioning tests 2016-01-04 13:02:09 -05:00