From c7e1277ecaf40c6d8ee945418a306f5b15189b97 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 8 Aug 2023 16:33:38 -0700 Subject: Unit test augmentations and harness. Added some features to the mkunit program, including cleanup routine support. Added reporting modes for the UnitSuite class, and it can now generate machine readable reports. Added a new program, rununits that runs all unit tests and generates a synopsis of what you really care about at the end, issues! --- src/unit/file.unit | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/unit/file.unit') diff --git a/src/unit/file.unit b/src/unit/file.unit index ee69995..b8cb73f 100644 --- a/src/unit/file.unit +++ b/src/unit/file.unit @@ -14,6 +14,11 @@ suite File { + cleanup + { + unlink("testfile1"); + } + test writeFull { Bu::File sf("testfile1", Bu::File::WriteNew ); -- cgit v1.2.3