test-generator icon indicating copy to clipboard operation
test-generator copied to clipboard

Results 10 test-generator issues
Sort by recently updated
recently updated
newest added

This is the same as #8 , but it also adds tests for the MacroAttributes parser. I haven't managed to write the tests against the old syn API, thus this...

Currently, it appears that support for Cargo workspaces is limited, due to the way resource files are discovered via relative paths. This is easiest to show with an example: ```...

Hi, I'd like to know what the maintenance status of this project is. It doesn't look as though there's been much activity, but I can't tell if that's because the...

Sometimes a test with a test resource is long-running and the documentation suggests to use the [#[ignore] flag](https://doc.rust-lang.org/book/ch11-02-running-tests.html#ignoring-some-tests-unless-specifically-requested) to exclude it from normal test runs. It doesn't seem possible to...

We have some test code in which a glob currently yields no results, but if the test vector suite ever adds a file with that pattern, it would be nice...

Seems to compile at least, should be reviewed carefully ...

Expected: example filenames with `+` to work. Actual: `test_generator::test_resources` panicked with message: `"some_fn_name" is not a valid identifier` Looks like the issue is at https://github.com/frehberg/test-generator/blob/ce45b1a712ab7454bec7e0c9d04dbf2417f6d237/test-generator/src/lib.rs#L131-L138 but I am not really...

This is a draft, the implementation is tested, but can certainly be improved. But I would like to ask for comments about the syntax first and whether this "feature" would...

For example, I want to test all formats from [kaitai-struct gallery](https://github.com/kaitai-io/kaitai_struct_formats). I use following code (folder `formats` is git checkout of https://github.com/kaitai-io/kaitai_struct_formats repository): ```rust #[cfg(test)] mod formats { use std::fs::File;...