Welcome to MCG Software, Inc.
Developers of OTF – An Object Testing Framework
OTF is a framework that provides high-quality, rapid testing for Smalltalk applications.
OTF provides a detailed level of control while at the same time providing for many degrees of complexity. A primary feature of OTF is its integral test engine–which provides the ability for you to run standard or custom tests. The test engine provides the flexibility to run single object tests, test suites (which are groups of individual object tests), or can also test the entire application.
Test tools provided in OTF include probes, test logs and fixtures as easy-to-understand metaphors. Probes and fixtures can be easily configured to measure and test the code being developed, and provide the flexibility to test a number of code attributes.
Test scripts provided in OTF can become the basis for a series of customized testing routines that the user can configure for each application.
Because OTF is entirely written in Smalltalk, it is highly flexible, can be easily extended, and can work in a mixed operating system environment. OTF was designed to work across multiple platforms and versions of Smalltalk. Consequently, it is appropriate for large project development teams as well as for individual developers and testers who may use different computers and platforms.
OTF has proven its worth as a Smalltalk-like testing tool that provides independent testing of Smalltalk code at the object level. It reveals errors that would be difficult to find in other testing tools, and OTF has extremely fast execution times compared to other testing tools. OTF is one of the first testing frameworks developed to emphasize the sequential nature of testing and the public interface of the objects being tested. The main features of OTF are:
- OTF is an easy-to-use framework for developing, editing, keeping, sharing and running suites of tests. Regression testing is automatic with full logging of results. Tests may be looped and conditional code executed for stress testing. There also is a simple mechanism to test user interfaces.
- OTF uses an augmented subset of Smalltalk as a test scripting language that emphasizes the sequential nature of testing and the public interface of the objects being tested.
- OTF Plus includes the ability to integrate test plans with test results for more complex testing, and for team testing.
- OTF is useful as an alternative for workspaces during code development, facilitating the desirable outcome of developers developing unit tests.
- OTF’s test steps are executed by sending a message to an object under test and probing the result against a target value. Over a dozen types of probes are provided and others can be easily added.
- OTF provides a high-speed framework for testing objects generated from the main dialects of Smalltalk:
IBM VisualAge for Smalltalk, versions 3 and 4.
VisualWorks from ObjectShare, versions 2.0 forward
Visual Smalltalk, from ObjectShare
Announcing OTF 2.0 and OTF Plus+ 2.0
Object Testing Framework (OTF) family of Smalltalk testing products.
These products, OTF and OTF Plus+ , provide two easy-to-use frameworks for planning, developing, editing, keeping, sharing, running and reporting suites of tests on Smalltalk code and objects.
OTF has been revised and improved as a testing tool targeted to the needs of the developer. It also now demonstrates Y2K conformance.
OTF Plus+ aims to meet the requirements of software quality assurance personnel and others monitoring testing activity.
In large-scale development projects, where Smalltalk components produced by various developers require testing, OTF has become a serious software testing mechanism. OTF Plus+ adds to this ability by tracking testing activity and providing data for test activity evaluation
OTF 2.0 consists of a number of improvements and additions to its earlier versions, primarily in the areas of Test Scripts, capabilities of the basic Test Engine, and additions to the OTF Tool Kit. New Test Scripts feature the ability to assign to test variables using the Smalltalk assignment statement, a compatibility flag, and a new Timer Probe for very simple timing-based performance testing. There is also the addition of a generic Test Script storage mechanism, for the storage of user defined attributes in the Test Scripts.
New Test Engine features include Automatic Smalltalk Dialect determination and a built-in Comma Separated Values (CSV) File Reader.
Major new Tool Kit additions include a new ability for finding references to globals in scripts, and a number of new menu items, such as one allowing the developer to change the log level, and log location, from any Test Editor and from any Portfolio/Suite Editor.
OTF Plus+ 2.0 provides, for the first time, reusable Test Plans and the reporting of test results based on these plans,.
OTF Plus+ 2.0 integrates test plans into the OTF framework, and provides the ability to create, modify, keep, and share tests and testing plans among a team, and among teams for true reusability both on a current project and among projects.
Software test plans emphasize top-down or functional testing, and are a classic and effective way to truly answer the question: Where is this project today?
Test plans are also used as a way to manage testing requirements and can be developed independently from test scripts.
OTF Plus+ Test Plans consist of Test Plan Chapters that can be owned by individuals and shared among team members.
Each chapter consists of nestable Test Plan Segments. Each Segment contains a segment number, segment name, description, notes, a names of a reference documents and a links to them, as well as the name of the suite and test associated with the segment. The reference document allows OTF Plus+ to open up the appropriate spreadsheet, database or text document for viewing and/or changing. With test plans constructed in this manner, it is possible to reuse test plan chapters to mirror the reuse of code packages.
When an OTF test script is run against a test plan, a recording of the result is made. These recordings can be reported using the Test Plan Reporter. Currently the reporter can report on three levels.
- First, There are two primary results, then a sequence of runs recorded with date, time and duration detailing the time and overall results.
- Second, the test activity during the recording and the results of those tests are provided.
- And third, the results achieved are compared to plan detailing which segments have been covered and to what degree. In all cases, the details of test success and failure are reported.
Free Trial of OTF 2.0 and OTF Plus+ 2.0
Software Quality and the Role of Testing
As developers use Smalltalk more frequently to develop production systems, the quality of Smalltalk-based applications has become an important issue. This section of the MCG Software, Inc. web site focuses on specific aspects of Smalltalk SQA. Note that Smalltalk SQA in Smalltalk is not a solved problem. Click here to read our testing-related articles.
Software Quality Assurance in Smalltalk
DISCOVER OTF 2.0
MCG Software, Inc. is now a GemSmith Partner with GemStone Systems!
For more information, please visit GemStone’s Web site ,
or see our Gemstone Status Page for how to use OTF with Gemstone today.
Need a Bridge to a different version of Smalltalk?
The MCG Software Bridge for Smalltalk Orphans
Learn how OTF can help you move from one version of Smalltalk
to another with minimal time, effort and disruption to your operations.
Our Founder, Our Background, Our Mission
Working Together for Success:
Copyright by MCG Software, Inc. All rights reserved.