tests: Add FiveAM tests for v0.2.0 completion
Self-edit: 5 new tests (apply success/not-found/file-not-found, parse-location x2) Config-manager: 4 new tests (get-oc-config-dir, save-providers, configure-provider) Gateway-manager: 2 new tests (multiple-platforms, registration) Tier 1 Chaos: Verified org files pass structural balance Note: Some tests have issues - config tests use functions not exported, one self-edit test has search function issue. Pre-existing test failures in LITERATE-PROGRAMMING (2) and DIAGNOSTICS (1).
This commit is contained in:
14
tests/diagnostics-tests.lisp
Normal file
14
tests/diagnostics-tests.lisp
Normal file
@@ -0,0 +1,14 @@
|
||||
(defpackage :opencortex-diagnostics-tests
|
||||
(:use :cl :fiveam :opencortex)
|
||||
(:export #:diagnostics-suite))
|
||||
|
||||
(in-package :opencortex-diagnostics-tests)
|
||||
|
||||
(def-suite diagnostics-suite :description "Verification of the Diagnostics skill")
|
||||
|
||||
(in-suite diagnostics-suite)
|
||||
|
||||
(test test-dependency-check-fail
|
||||
"Verify that missing binaries are correctly identified as failures."
|
||||
(let ((opencortex::*doctor-required-binaries* '("non-existent-binary-123")))
|
||||
(is (null (opencortex:doctor-check-dependencies)))))
|
||||
Reference in New Issue
Block a user