Designing a unit-test framework for writing custom tests in CLIPS for CLIPS rules, using a multi-file setup
问题 I'd like to make a unit-test like framework that allows me to write custom tests for individual rules. I'd like each test to be in it's own file, i.e. test_R1.clp would be the test file for rule R1 . Each test should be able to load it's own facts file. I've tried many variations of the following, including using a different defmodule for each file. Is what I'm trying to do even possible in CLIPS? If so, what else is needed to make this work? I'd like to run my tests via: $CLIPSDOS64.exe -f2