Uses generate-test to produce a unit-test skeleton for one qualified symbol. Reach for it to scaffold a test file for a routine that has none.
generate-test
drag-lint generate-test --qname <Foo.TBar.Baz> [--framework dunitx|dunit] [--db PATH]
--qname is the fully qualified symbol; --framework selects dunitx or dunit.
--qname
--framework
dunitx
dunit
drag-lint > Generate & Export > Unit Test Stub (symbol)...
The --db flag is optional -- drag-lint auto-resolves the project's index when omitted. An index must still exist.
--db
Illustrative only:
drag-lint generate-test --qname MyApp.TCustomerOrder.Total --framework dunitx --db C:\Projects\MyApp\_D-RAG\MyApp.sqlite
This would produce a DUnitX test stub targeting the Total member of TCustomerOrder.
Total
TCustomerOrder
There was an error while loading. Please reload this page.