Skip to content

Conversation

@NoahJCross
Copy link
Contributor

Description

Added a test generation and execution framework for SplashKit that supports all languages. This allows for automated/manual testing for all SplashKit FFI's.

Key features:

  • Test definitions in JSON
  • Support for sequential and parallel test execution
  • Built in handling for cleanup and resource management
  • Special handling for manual/interactive tests
  • Configurable test groups and individual test cases

Important: If you want to run it with all of the fixes i made to the source and translator you can clone these instead. (The generator uses the source to generate the dll/so/dylib):

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Tests were run using both direct and command-line methods:

ruby main.rb --generate path/to/api.json
ruby main.rb -l rust
ruby main.rb -l rust -g animations 
ruby main.rb -l rust -g animations -t animation_count

ruby main.rb --help # <-- For help

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant