Skip to content

Generate a test per file in a directory #78

@casey

Description

@casey

Is it possible to generate a test-case per file in a directory? I'm working on an image generating program, and we have test images and it would be convenient to be able to say something like:

#[test_resources("images/*")]
fn image_test(path: &Path) {
  // image test code
}

This is possible with test-generator but it's less actively maintained.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestspikeNeed to research topic more to come up with a solution

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions