Skip to content

Add data cleanup op/flag #9

@tafli

Description

@tafli

When testing with thumper, a lot of different data is created. When running different scripts, different data is created and might interfere with other scripts.

I run into a problem, where I checked LookupResources and expeced a certain result that I have created during that testrun. But in another run, I created another resource with a relation to the same subject. Therefore the check failed.

To solve this, it would be great to have an op (or flag) to cleanup all data for a specific definition namespace (test preheating?). Usually I create my schema with thumper with the {{ .Prefix }} so I should be able to delete all data under this namespace (probably including the schema itself). This way, a test run will become reproducible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions