gimp/plug-ins/script-fu/scripts/test
lloyd konneker ea238e4e5a ScriptFu: fix #12837 i18n for independent scripts
See /scripts/test/test-i18n.scm,
which has tests and documents use cases.

Some incidental refactoring and editing of comments.
2025-06-09 13:50:12 +00:00
..
always-fail Fix so that ScriptFu test scripts are not localized. 2022-08-06 14:37:56 +00:00
call-always-fail Fix spelling errors found with codespell 2025-01-04 15:11:03 +00:00
register-fail Fix for 2.99 only #6157 2023-09-28 13:26:23 +00:00
resource-class Fix scripts calling obsolete gimp-brush-delete 2023-12-09 11:23:58 -05:00
test-install-fail Fix #9554 (quit 1) must yield err msg 2023-06-20 11:14:13 +00:00
test-quit Fix #9554 (quit 1) must yield err msg 2023-06-20 11:14:13 +00:00
test-run-error-PDB Fix #9554 (quit 1) must yield err msg 2023-06-20 11:14:13 +00:00
test0 Fix so that ScriptFu test scripts are not localized. 2022-08-06 14:37:56 +00:00
test1 Fix so that ScriptFu test scripts are not localized. 2022-08-06 14:37:56 +00:00
test4 Fix spelling errors found with codespell 2025-01-04 15:11:03 +00:00
test5 ScriptFu: Add script-fu-interpreter akin to other interpreters 2022-06-30 13:39:45 +00:00
test6 ScriptFu: Add script-fu-interpreter akin to other interpreters 2022-06-30 13:39:45 +00:00
test7 Fix so that ScriptFu test scripts are not localized. 2022-08-06 14:37:56 +00:00
test8 Fix so that ScriptFu test scripts are not localized. 2022-08-06 14:37:56 +00:00
testi18n ScriptFu: fix #12837 i18n for independent scripts 2025-06-09 13:50:12 +00:00
README Fix #9554 (quit 1) must yield err msg 2023-06-20 11:14:13 +00:00
clothify-v2.scm script-fu: fix limit in bump-map calls 2025-02-02 11:59:51 +01:00
clothify-v3.scm script-fu: fix limit in bump-map calls 2025-02-02 11:59:51 +01:00
contactsheet.scm Issue #12771: (gimp-layer-new) is missing. 2025-01-20 20:55:48 +01:00
meson.build ScriptFu: fix #12837 i18n for independent scripts 2025-06-09 13:50:12 +00:00
test-bytes.scm ScriptFu: move test plugins and install more in unstable build 2024-04-24 14:32:53 +00:00
test-display.scm ScriptFu: scripts: fix scripts that used now obsolete functions from the SIOD dialect 2024-10-22 15:18:50 -04:00
test-sphere.scm Issue #12771: (gimp-layer-new) is missing. 2025-01-20 20:55:48 +01:00
test-v3.scm script-fu: fix limit in bump-map calls 2025-02-02 11:59:51 +01:00
ts-helloworld.scm ScriptFu: rename script-fu-register-regular => -procedure 2024-09-27 14:35:50 +00:00

README

Scripts to test various cases for ScriptFu subsystem.

Not usually installed.

Should not be localized i18n : for developers only.

## Install

To use, install them:

1. Old style scripts: copy to /scripts.

2. New style independently interpreted scripts:
copy a dir containing the test script into /plugins
and ensure the .scm files have execute permission.

Old style scripts test and are interpreted by extension-script-fu.
When a script crashes extension-script-fu, you must restart Gimp.

New style scripts are interpreted in a separate process
running binary script-fu-interpreter-3.0.

## Invoke

Any installed script can be tested in the SF Console
by just calling it from the PDB: "(script-fu-test-foo)"
since they are PDB procedures.

Scripts that have menu items can be tested from the Gimp GUI.

Any test script can be called by another script.

## Testing framework

test9.scm has a built-in testing framework.

FUTURE: extract the framework to a Scheme extension
that is in the Gimp repo,
that other scripts can load and use.