Skip to content

How to create a test user for automated testing? #138

@ac000

Description

@ac000

HI,

Creating test users is fine, but you always have to go through the manual OAuth process. Then I noticed this line under the heading

What types of test user can I create? from the Create Test User API page.

"You can also create test users for use during automated testing"

Great! as I assume that means I can create a test user and hit some endpoints without needing any manual intervention. But how do I create such a user?

Sometimes I need to create test users in rapid fire succession to test stuff and having to go though the OAuth process each time really slows things down.

Either that or if there was way to reset a users state? I.e no periods created etc...

Cheers,
Andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions