The downside of adding a File Manager type to Femtounit
I integrated Femtounit with the File Manager by defining the new type TESTS
for Femtounit tests and redefining DEFTEST
in terms of it.
It turns out it's not a good idea as the tests get duplicated. The DEFTEST
macro expands into a DEFINEQ
function definition and the File Manager notices both, the DEFTEST
form of type TESTS
and the function of type FNS
.
The fix seemed simple, assigning tests to an existing type such as FNS
. First I removed TESTS
with (DELDEF 'TESTS 'DEFINE-TYPES)
, then replaced the type argument TESTS
with FNS
in the XCL:DEFDEFINER
form. But when I tried to edit a sample test TEST.PLUS
for the PLUS
function with (ED 'TEST.PLUS :DONTWAIT)
, SEdit quit with the error:
Warning: Couldn't find a hash-table for FNS definitions.
One will be created.
Could not find fns definition for TEST.PLUS.
Could not find fns definition for
TEST.PLUS
Back to the drawing board.
Discuss... Email | Reply @amoroso@fosstodon.org