gnucash maint: Add make_testfile suggestion to test-templates README.
John Ralls
jralls at code.gnucash.org
Thu Jul 30 12:59:47 EDT 2015
Updated via https://github.com/Gnucash/gnucash/commit/567f61fe (commit)
from https://github.com/Gnucash/gnucash/commit/9333344e (commit)
commit 567f61fe3ccf058a1a24b84b0cb18efd5781d50c
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Jul 30 09:56:28 2015 -0700
Add make_testfile suggestion to test-templates README.
diff --git a/test-templates/README b/test-templates/README
index 10d8fa6..bfabd7c 100644
--- a/test-templates/README
+++ b/test-templates/README
@@ -29,6 +29,13 @@ each test-suite file. Add tests and fixtures as needed to the
test-suite files and register them in the (renamed) test_suite_module()
function.
+Alternatively you can use the make_testfile perl program in this directory to
+create a skeleton test-suite file for your target file. In addition to creating
+a template test function for each function in the target source file and a
+template test-suite function at the end, it will comment each template function
+with the usage of that function both internally and externally. Run `perldoc
+make_testfile` to read more.
+
Edit Makefile.am according to the comments in the file.
Run autogen.sh and configure. "make check" will run all tests; "make test" will
Summary of changes:
test-templates/README | 7 +++++++
1 file changed, 7 insertions(+)
More information about the gnucash-changes
mailing list