| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The files in this repository contain the script files required to run regression tests on RGP/JW Lua. The tests report issues found on the running RGP/JW Lua and Finale versions. Testing on this level is performed to make sure that RGP/JW Lua actually behaves the way it is meant to behave.
The following tests are performed.
This is useful for testing if a new version of Finale has added unlinkable data entities.
Note that with the current version of jwluatesttools, JW Lua generates several hundred errors, since JW Lua has not been updated since 2017. The latest version of RGP Lua should generate no errors.
The following scripts each provide a report as described.
| Test Script | Description |
|---|---|
| jwlua_classtests.lua | Contains the tasks to run the available class-level unit tests. |
| jwlua_consttests.lua | Contains the tasks to run the tests for JW Lua constants. |
| jwlua_filetests.lua | Contains the tasks to run the tests on the Finale test document. |
| jwlua_internaltests.lua | Contains the tasks to run the internal tests. |
| jwlua_unlinktests.lua | Contains the tasks to check whether properties unlink. |
| jwlua_testall.lua | Runs all tests at once. |
The following scripts in the creation_tools directory create “skeleton” code for a PDK Framework Lua class as described. The skeleton code is put on the clipboard where it can be pasted to another document. Except as noted, these scripts can run on either JW Lua or RGP Lua. For example, create_object_reflection.lua was run in JW Lua to create the Lua framework code for RGP Lua. (But now RGP Lua returns more complete results.)
| Test Script | Description |
|---|---|
| create_constants_test.lua | Creates a test script for constants, filtering on an input string. Edit this script as needed for the desired constant prefix. |
| create_object_reflection.lua | Creates C++ macros for every method and property of the input classname. These can be used with refl-cpp (a compile-time reflection library for C++17.) |
| create_object_test.lua | Creates a test script for the class to be included in the file tests. Edit this script as needed to run for the desired classname. |
| create_property_test.lua | Creates a test for the class to be included in the class tests. Edit this script as needed to run for the desired classname. |
| Back | FazBrowse Home | New Git URL |