Known problems
- Shikenjo.app is a quick hack to play with distributed notifications and is not reliable.
- Shikenjo.app has not been updated for the past releases.
New in Release v41 (April 11, 2005), thanks to Chris Hanson
- Make sure Foundation is loaded before SenTestingKit.
- Added autorelease pool to detect over-releases faster.
- Added license to all source files.
New in Release v40 (April 1, 2005)
- A new assertion macro has been added and an old one updated. The new one is STAssertEqualsWithAccuracy(). The old marco STAssertEquals() has been updated to handle pointers, unions and structs in addition to scalars. These macros now give better error reporting in case of failure. Also the macro STAssertEqualsWithAccuracy() allows the use of an accuracy amount in case of floats and doubles where the values may not be exact.
The following modifications have been contributed by Andrew Pontious.
- Documentation - Tutorials
- Fully updated OCUnitWWDC2002.rtfd to describe Xcode techniques, the environment without SenFoundation.framework, and the new Xcode-ported project, TestExtras.
- Examples
- Removed old .pbproj files.
- Removed dependency on SenFoundation framework.
- Extras - Packaging - HomePackage
- Modified installOCUnit to also install TestExtras, now that it's been fully ported to Xcode.
New in Release v39 (January 26, 2005)
- Added extern "C" guard on STComposeString for Objective-C++ users
- Removed fprintf and cString for compatibility with Unicode error messages
- Updated XCode integration documentation with Zero Link troubleshooting
New in Release v38 (June 2, 2004)
- The message thrown when STAssertNotNil fails was non-intuitive. This has been fixed.
- Alphabetized the test methods found within a TestCase class prior to execution.
New in Release v37 (April 2, 2004)
- Bug fix when compiling for Objective-C++.
New in Release v36 (March 31, 2004)
- Added new improved test macros. A message can now be included with each macro.
- The macros have been renamed and are now prefixed with "ST". For example the should(expression) macro is replaced by the STAssertTrue(expression, aMessage, ...) macro. The old macros will continue to work for now.
- There is now two new install packages that do all the work of installing. One for home directories and one for the root directory. Only install one.
New in Release v33 (January 19, 2004)
- Standardized project template names
- Fixed links in the documentation
- Added Xcode installation instruction in "Getting Started" page
New in Release v32 (January 8, 2004)
- Put SenFoundation back in the distribution, as it used by some of the examples. (But SenFoundation is not required to build and use SenTestingKit).
New in Release v31 (January 5, 2004)
- Removed dependency on SenFoundation (Xcode only)
New in Release v30 (December 9, 2003)
- Merged Xcode and other environments distribution
- Ported SenInterfaceTestingPalette to Xcode
- Added new should macros from bbum
- Updated documentation
New in Release v29, XCode only (November 21, 2003)
- Added project templates
- Fixed a bug (tests from application were not running)
- More documentation
- Added SenRandomTest example
New in Release v28 (November 17, 2003)
- OCUnit for Xcode released as a separate package
New in Release v27 (June 20, 2003)
- Updated GNUStep support (Thanks to Erik Drnenburg and Marcus Muller)
- Using build products frameworks when using test after build (Thanks to Stéphane Corthésy)
New in Release v26 (December 19, 2002)
- Corrected framework test with -SenTest Self
New in Release v25 (October 23, 2002)
- Corrected test after build to work with space in path
- Corrected tool test with -SenTest Self
- Updated GNUStep support
New in Release v24 (May 21, 2002)
- Added more project templates
- Added Howto to get error reports in PBX
- Added Examples
New in Release v23 (February 23, 2002)
- Added TestCase template for PBX
- Corrected RunTargetUnitTests for testing tool projects
- Grouped all ProjectBuilder integration related files
New in Release v22 (December 12, 2001)
- Moved documentation to HTML
- Added Getting Started to documentation
- Fixed framework paths in installation package
- Fixed testing of tools
- Uses autodoc only if available
New in Release v21 (December 4, 2001)
- Test cases are now inherited
- Integration with Mac OS X Project Builder
- Installer package for Mac OS X
- SenRandomTest example
- SenTestingKit framework now includes HTML documentation
- Ported Shikenjo.app and several examples to Mac OS X
New in Release v20 (April 14, 2001)
- Added GnuStep patch (Thanks to Mirko Viviani mirko.viviani @ rccr.cremona.it)
- Ported SenFoundation.framework, SenTestingKit.framework and otest tool to MacOSX 10.0.
New in Release v19 (April 11, 2000)
- Corrected test.make to test_debug (Thanks to Christian Pekeler @ Codefab)
- Changed test.make default otest.exe path to $(NEXT_ROOT)$(LOCAL_DEVELOPER_EXECUTABLES_DIR)
New in Release v18 (April 10, 2000)
- Generalized -setUp and -tearDown to SenTest
- Added +setUp and +tearDown to SenTestCase, suites built from SenTestCase invoke these once before (resp. after) all SenTestCase tests. (Thanks to Stefano Mancini for this suggestion)
- Changed projects installation directories to make use of DSTROOT (SenTestingKit, SenFoundation, otest, SenInterfacePalette)
- Changed SenTestableProjects installation directory to /Developer/PBBundles
- Corrected header includes (Thanks to Chuck Hill, Global Village Consulting, for this suggestion)
- Added Testable/WebApplication
- Removed should...Empty macros so that SenFoundation framework needs not be directly included (SenTestCase, ..._Macros)
- Restored old NSBundle executablePath method (_computeExecutablePath does not work for .woa bundles on NT) (Thanks to Albena Georgieva @Object Zoo for her help)
- Corrected (kind of) test.make to test_debug on NT
- Added -Xlinker -force in SenTestableProjects Makefile.preamble to allow linking on NT
New in Release 1.17 (March 14, 2000)
- Changed test.make to support test_debug for frameworks and bundles
- WO applications now also testable.
New in Release 1.16 (March 5, 2000)
- Change in SenFoundation for WO compatibility
- Force loading of all frameworks (correcting a bug report from Peter Lindberg, Oops, Sweden)
- Added SenTestableProjects a PB bundle to add the test and test_debug build targets to all projects.
- Added ApplicationBundle example
- Added Example/README
New in Release 1.15 (December 20, 1999)
- Terminology and semantic change: error has been renamed unexpectedException. Failures are now reported like this:
Passed 3 tests, with 2 failures (1 unexpected)
instead of: Passed 3 tests with 1 failure, 1 error
- TestRun totalFailureCount = failureCount + unexpectedExceptionCount
New in Release 1.14 (December 7, 1999)
- Added SenInterfaceTestingPalette
- Reimplemented SenNibTestCase as SenInterfaceTestCase (Thanks to Dominique Schoenenberger @ Nagravision SA for his collaboration)
- Added -SenTest TestCaseClassName/testMethodName option (Thanks to Dominique Schoenenberger @ Nagravision SA for his collaboration)
- otest can now test tools
- Changed Windows installation directories (Thanks to Chuck Hill @ Global Village Consulting for this suggestion).
New in Release 1.13 (October 21, 1999)
(Internal unreleased version)
- Added SenNibTestCase. (Thanks to Dominique Schoenenberger @ Nagravision SA for this contribution)
- Added -Include and Class/method launch options (Thanks to Dominique Schoenenberger @ Nagravision SA for this contribution).
- Added User Guide (Thanks to Dominique Schoenenberger @ Nagravision SA for this contribution).
New in Release 1.12 (October 6th 1999)
- Changed API: recompile your tests!
- Changed Makefiles/Resources/otestSpec.plist: reinstall it!
- Changed failure output format to "filename:line number: message" (SenTestLog)
- Refactored SenTestCase (Suite) to use closures, introduced NSInvocation (SenTesting)
- Removed name ivar from SenTestCase
New in Release 1.11 (August 28 1999)
- Selection of failures in PB works on NT (NSException_SenTestFailure).
- Added should...1 macros , taking a description parameter
- Added fail and fail1 macros, fails inconditionaly
- Added test_all and test_debug_all targets (test.make)
- Corrected test coverage when launching an application without otest
New in Release 1.10 (June 23rd 1999)
- Changed API: recompile your tests!
- Output absolute filenames for compatibility with latest ProjectBuilder.
- Added shouldntRaise and shouldntBeEmpty macros.
- Added more TestingKit's tests and:
- Found and corrected bug in shouldBeEqual.
New in Release 1.9 (June 4th 1999)
- Fixed bug on NT (tests were not loaded)
New in Release 1.8 (May 1999)
- Separated otest and Shikenjo projects
- Simplified and corrected test launching process in otest / SenTestProbe
- otest, SenTestingKit should be OPENSTEP compatible (minus Distributed Notifications)
- Added small example
New in Release 1.7 (February 1999)
- Added option to use only tests from tested bundle or to include tests from used frameworks
- Uses by default only the test cases from the tested bundle
Release 1.6 (December 1998)
- SenTestingKit now has tests.
- Removed insertion of TestProbe with DYLD or GDB.
- Transparent -SelfTest option
Release 1.5 (December 1998)
- Support for performance testing.
Release 1.4 (November 1998)
- Multiple assertions per test case.
Release 1.3 (November 1998)
- Seamless integration with ProjectBuilder.
Release 1.2 (September 1998)
- Ported from OPENSTEP to Yellow Box
- test.make makefiles.
Release 1.1 (July 1998)
- Several subclasses of TestResult to record, log, notify, etc...
- Automatic creation of test suites using runtime information.
- Shikenjo.app, an interactive test driver.
Release 1.0 (May 1998)
- Verbatim translation of Kent Beck's Smalltalk Testing framework.
More information
http://www.sente.ch/software/ocunit/
feedback@sente.ch
©Copyright 1994-2004, Sen:te (Sente, SA). All rights reserved.