Documentation ¶
Index ¶
- type TestBehaviour
- func (t *TestBehaviour) RunAllTests()
- func (t *TestBehaviour) RunGetCLAProjectManagerToken()
- func (t *TestBehaviour) RunValidateCLAGroupInvalid(claGroupName, claGroupDescription string)
- func (t *TestBehaviour) RunValidateCLAGroupInvalidDuplicate(claGroupName, claGroupDescription string)
- func (t *TestBehaviour) RunValidateCLAGroupValid(claGroupName, claGroupDescription string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestBehaviour ¶
type TestBehaviour struct {
// contains filtered or unexported fields
}
TestBehaviour data model
func NewTestBehaviour ¶
func NewTestBehaviour(apiURL string, auth0ProjectManagerConfig test_models.Auth0Config) *TestBehaviour
NewTestBehaviour creates a new test behavior model
func (*TestBehaviour) RunAllTests ¶
func (t *TestBehaviour) RunAllTests()
RunAllTests runs all the CLA Manager tests
func (*TestBehaviour) RunGetCLAProjectManagerToken ¶
func (t *TestBehaviour) RunGetCLAProjectManagerToken()
RunGetCLAProjectManagerToken acquires the Auth0 token
func (*TestBehaviour) RunValidateCLAGroupInvalid ¶
func (t *TestBehaviour) RunValidateCLAGroupInvalid(claGroupName, claGroupDescription string)
RunValidateCLAGroupInvalid runs a validation test against the specified parameters - expecting a unsuccessful validation
func (*TestBehaviour) RunValidateCLAGroupInvalidDuplicate ¶
func (t *TestBehaviour) RunValidateCLAGroupInvalidDuplicate(claGroupName, claGroupDescription string)
RunValidateCLAGroupInvalidDuplicate runs a validation test against the specified parameters - expecting a unsuccessful validation
func (*TestBehaviour) RunValidateCLAGroupValid ¶
func (t *TestBehaviour) RunValidateCLAGroupValid(claGroupName, claGroupDescription string)
RunValidateCLAGroupValid runs a validation test against the specified parameters - expecting a successful validation
Click to show internal directories.
Click to hide internal directories.