The CCL Unit Framework is a collection of CCL programs for executing CCL Unit Tests and generating test results and code coverage data.
It must be installed into a Cerner Millennium environment before it can be used. Find step-by-step instructions here.
See CCL Unit Tests for the structure of a CCL Unit test case, instructions for executing one, and a rudimentary example.
See CCL Unit Asserts for a list of all available asserts.
See CCL Unit Mocking for details about the mocking API and a basic example using it.
See CCL Unit Guidance for suggestions how to structure a program for testability and how to structure unit tests. Short examples are provided to illustrate the techniques.
You are welcomed to contribute documentation improvements as well as code corrections and enhancements.
Please read our Contribution Guidelines.
Please read and follow the Release Guidelines when mergining a pull request.
Copyright 2017 Cerner Innovation, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.