tests

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppTest

type AppTest struct {
	revel.TestSuite
}

func (*AppTest) EmailWithAssertion added in v0.11.0

func (t *AppTest) EmailWithAssertion(audience string) PersonaTestUser

EmailWithAssertion uses personatestuser.org service for getting testing parameters. The test persona service expects audience to begin with protocol, for example: "http://".

func (*AppTest) TestThatLoginPageWorks added in v0.11.0

func (t *AppTest) TestThatLoginPageWorks()

func (*AppTest) TestThatLogoutPageWorks added in v0.11.0

func (t *AppTest) TestThatLogoutPageWorks()

type PersonaTestUser added in v0.11.0

type PersonaTestUser struct {
	Assertion string `json:"assertion"`
	Audience  string `json:"audience"`
	Email     string `json:"email"`
	Pass      string `json:"pass"`
	Received  time.Time
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL