Butch Wesley

Results 281 comments of Butch Wesley

@astrale-sharp I was thinking images at first too. I see now it's really just the object's definition. @adrian-goe It looks like most of the functionality for snapshot testing revolves around...

# Requirements ## `snapshot_directory` setting. * Settable via the GUI and command line. * Directory will be created by GUT if it doesn't exist at the start of a run...

All that info should be in the `_gut` instance available to the test. I can look more into this tomorrow.

This line sets the local variable inside `gut`: ``` var the_script = _test_collector.scripts[indexes_to_run[test_indexes]] ``` `the_script` is an instance of `test_collector.gd/TestScript`. This class has the path to the script and the...

Unfortunately Godot does not provide a way for GUT to detect Script errors. If you run in debug mode (`-d` from command line) then Godot should break on the line...

I don't know of any plans to. implement it but I haven't really looked. I can see reasons for and against. To detect this, parsing the output would be your...

I feel including a new line in each test is too much work for this feature to be practical. Once you've discovered a possible runtime error, this looks like a...

Closing this out, reopen if you have. any other. ideas.

This could work. It still seems like extra work for the user since adding the extra line would be tedious and if you only used when you thought there might...

Dang-it. Should have thought it out juuuuust a bit more before typing it. Injection isn't possible. We could rewrite the code dynamically instead of wrapping calls but that sounds really...