STRIDE 4.1.01x: Difference between revisions

From STRIDE Wiki
Jump to navigation Jump to search
No edit summary
 
(84 intermediate revisions by 3 users not shown)
Line 21: Line 21:


== Usability Improvements ==
== Usability Improvements ==
=== Test Double ===
=== STRIDE Runner ===
Now in the context of a [[Test_Units|Test Unit]] a dependent function call can intercepted and replaced with a user defined [[Function Double]].
[[Stride Runner]] is a new command line host based tool that allows performing target diagnostics and running target-based tests from a host computer and optionally uploading results to [[STRIDE Test Space]].
A set of new [[Test Double Samples]] for Test Units has been added.


=== Test Points ===
=== STRIDE Test Space ===
To support asynchronous tasks testing a set of new [[Using Testpoints|Testpoints]] APIs has been implemented. In the context of a [[Test_Units|Test Unit]] test point expectations could be set and validated.
[[STRIDE Test Space]] is a hosted web application for storing and analyzing your test results. Manually (using the web interface) or automatically from one of the STRIDE execution tools ([[STRIDE Runner]] or [[STRIDE Studio]]) the user now can create a fluid hierarchy of test results that adapts to shifting needs during a product lifecycle.
A new set of [[Test Point Samples]] for Test Units has been added.
 
=== Build Integration ===
A new STRIDE_ENABLED compiler switch (preprocessor directive) has been added to allow control over the compilation of STRIDE injected source ([[Test_Units#Test_Macros|Test Macros]] or [[Name Mangling]] macros). The use of srIMON compiler switch (preprocessor directive) has been deprecated in favor of STRIDE_ENABLED.
 
=== Test Space ===
A new utility script is available to upload test results to STRIDE Test Space. (Consult your S2 Technologies representative for more information on STRIDE Test Space.) The [[s2Publish.pl]] script can be added to your STRIDE workspace script collection to upload your test results. Or, [[s2Publish.pl]] may be used from the command line.


=== Framework ===
The product has been repackaged. In addition to the [[STRIDE Studio]] package, a new [[Desktop_Installation|STRIDE Framework]] package has been introduced. The new package provides support for Windows and Linux host clients.


= Change Details  =


= Change Details  =
== License ==
* A new licensing scheme has been implemented. Existing licenses will not work anymore and need to be reissued. Old and new licenses could co-exist at the same location.


== Fixes ==
== Fixes ==
Line 46: Line 42:
* Generated [[Intercept_Module|IM]] code for [[Using_Test_Doubles|Test Doubles]] is incorrect (compiler warning)
* Generated [[Intercept_Module|IM]] code for [[Using_Test_Doubles|Test Doubles]] is incorrect (compiler warning)
* [[STRIDE Studio]] may crash when compiling unions with internal discriminants.
* [[STRIDE Studio]] may crash when compiling unions with internal discriminants.
* [[STRIDE Studio]] is unable to publish results to [[STRIDE Test Space]].
* [[STRIDE Studio]] is unable to publish results to [[STRIDE Test Space]]. The support for Portal has been discontinued.


== Host Tools ==
== Host Tools ==
* A new command line host based tool, [[Stride Runner]], has been introduced.
* A new command line host based tool, [[STRIDE Runner]], has been introduced.


== Runtime ==
== Runtime ==
* STRIDE Host Release '''4.1.01x''' is compatible with the Runtime Version '''4.1.01'''
* STRIDE Host Release '''4.1.01x''' is compatible with the Runtime Version '''4.1.01'''
* [[Using Testpoints|Test Points]] has been changed.
* [[Test Point Testing in C/C++ |Test Points]] APIs have been changed.
* The signature of the [[Platform_Abstraction_Layer#PAL_Input.2FOutput_Services|PAL IO Service]] InData callback (''palInDataCallback_t'') has changed. The first argument is now a '''const''' pointer.
* The signature of the [[Platform_Abstraction_Layer#PAL_Input.2FOutput_Services|PAL IO Service]] InData callback (''palInDataCallback_t'') has changed. The first argument is now a '''const''' pointer.
* The public Test Services ''srTestSuiteAddTest()'' API has been renamed to ''[[Test_Units#srTestSuiteAddCase|srTestSuiteAddCase()]]''
* ''Most of the Runtime files have been modified. It is recomended that you update them all.''
* ''Most of the Runtime files have been modified. It is recomended that you update them all.''
* ''The following Runtime files have been removed:''
* ''The following Runtime files have been removed:''
Line 65: Line 60:
* ''All [[Linux SDK]] files have been modified.''
* ''All [[Linux SDK]] files have been modified.''
* ''All [[Windows SDK]] files have been modified.''
* ''All [[Windows SDK]] files have been modified.''
* ''All [[:Category:SDKs|Platform SDKs]] has been reorganized to better support the[[Off-Target Environment]].
= Minor and Patch releases =
== 4.1.01a ==
''New features and improvements:''
* [[STRIDE Runner]] now supports transactional [[Stride_Runner#Options | upload]] to [[STRIDE Test Space]]
''Defects corrected and the customer tracking number associated with them, if any, in brackets []:''
* [[STRIDE Runner]] rejects device address with dots in the name.
* [[STRIDE Runner]] may deadlock during diagnostics.
* Removed extra "()" in the test point annotation
* STRIDE enabled Target applications may log an error on exit.
* In [[Linux SDK]] the PAL timer callback may deadlock.
''The following Runtime source files have been modified:''
srtest.c
''The following [[Windows SDK]] files have been modified:''
palIO.c


= Migration to 4.1.01x =
''The following [[Linux SDK]] files have been modified:''
palIO.c
palOS.c
  palcfg.h


Recommended steps for migration from a previous version:
== 4.1.01b ==


= Minor and Patch releases =
''Defects corrected and the customer tracking number associated with them, if any, in brackets []:''
* [[STRIDE Runner]] on Windows fails to operate on COM port number greater than 9.
* [[STRIDE Runner]] on Windows may log an error like "log4cplus:ERROR Unable to open file: ...".
* [[STRIDE Runner]] may fail to HTTP redirect on results uploading.
* [[s2sbind]] and [[s2sinstrument]] on Windows may log an error like "log4cplus:ERROR Unable to open file: ...".
* Resource leak when using [[Test Point Testing in C/C++ | Test Points]].
* Default [[Runtime Reference|STRIDE Runtime]] configuration values (srcfg.h) for a non-complex target are too restrictive.
* In [[Windows SDK]] COM port connection may not work.
* [[C/C++ Samples]] source code was updated to remove compiler warnings
 
''The following Runtime source files have been modified:''
srcfg.h
srdiag.h
srdiag.c
srmsgque.c
srmsgrt.c
srstid.c
srsuid.c
 
''The following [[Windows SDK]] files have been modified:''
palIO.c
palOS.c


== 3.0.0201a ==
== 4.1.01c ==


''Defects corrected in STRIDE and the customer tracking number associated with them, if any, in brackets []:  
''Defects corrected and the customer tracking number associated with them, if any, in brackets []:''
* STRIDE Runtime install test caused linkage errors.
* [[STRIDE Runner]] freezes on unexpected connection termination.
* Setting a [[Function_Double|function double]] might cause a crash.
* [[STRIDE Runner]] on Windows may omit an error on COM port disconnect.
* STRIDE Runtime file srtest.h might generate errors when compiled with old C++ compilers.
* Added support for any count (0 or more) per [[Test Point Testing in C/C++ |Test Point]] expectation.
* In [[Linux SDK]] and [[Windows SDK]] too big buffer used in palLog().
* [[C/C++ Samples]] source code was updated to fix a resource leak


''The following Runtime source files have been modified:''
''The following Runtime source files have been modified:''
  srapi.c
  srconn.h
  srinstall.h
  srconn.c
  srinstall.c
  srib.c
  srtest.h
  srtest.h
srtest.c


''The following [[Linux SDK]] files have been modified:''
''The following [[Linux SDK]] files have been modified:''
  Makefile
  palOS.c


''The following [[WinMobile SDK]] files have been modified:''
''The following [[Windows SDK]] files have been modified:''
  stride.mak
  palIO.c
palOS.c


== 3.0.0201b ==
== 4.1.01d ==


''Defects corrected in STRIDE and the customer tracking number associated with them, if any, in brackets []:  
''Defects corrected and the customer tracking number associated with them, if any, in brackets []:''
* Intermittent palWait()/palNotify() failures when using [[Linux SDK]] in [[Linux_SDK#RTSINGLEPROC|multi-process]] mode.
* [[STRIDE Runner]] accepts non-standard Test Space URL format.
* [[WinMobile SDK]] failed to build in Windows CE 6.00.
* [[STRIDE Runner]] may incorrectly remove test cases on dynamic suite/case creation.
* Test Unit [[Pass/Fail Macros]] did not support pointer arguments.
* [[s2scompile]] may crash on compilation of invalid use of [[scl_test_flist]].
* Misalignment of conditional blocks involving pointers containing discriminated unions, during pointer setup in [[Intercept_Module|IM]] generation.
* Added support for printf like format to [[Test Code Macros]].
* In [[AutoScript|AScript]] unable to access members of out of range internally discriminated union. Added a new special "_Discriminant" member to any discriminated union objects to allow direct access to the discriminant.
* Enhancement to [[STRIDE Studio]] Trace View
** post filtering - to include matching call/return events
** sequence count - reset to 0 when cleared
* Bitfield members were not listed in [[STRIDE Studio]] Autosense.
* Incorrect [[Intercept_Module|IM]] generation for Remote Interceptors, i.e., a Dynamic Delegate without Tracing.
* ''s2Installtest.pl'' utility script has been updated to always generate an xml result file. The [[Verifying_Installation#s2InstallTest.pl | options]] have also been updated.
* ''TestHelloStride'' Test Unit removed from installation test logic.


''The following Runtime source files have been modified:''
''The following Runtime source files have been modified:''
  srtest.h
  srtest.h
  srtestpp.cpp
  srtestpp.cpp
  srinstall.h
 
  srinstall.c
== 4.1.01e ==
 
''Defects corrected and the customer tracking number associated with them, if any, in brackets []:''
* Dynamic test case result has no duration.
* Unable to build in Windows on a read-only ClearCase mount.
* Timestamp fraction (srCFG_TIMESTAMP_DURATION) not taken in consideration.
 
''The following Runtime source files have been modified:''
srtest.c
srtestutil.c
  srutil.h
 
== 4.1.01f ==
 
''Defects corrected and the customer tracking number associated with them, if any, in brackets []:''
* [[STRIDE Runner]] on Windows may log errors like "log4cplus:ERROR No appenders could be found ...".
* [[s2sbind]] and [[s2sinstrument]] on Windows may log errors like "log4cplus:ERROR No appenders could be found ...".
* Misbehaviour on Linux systems with non standard NPTL implementation.
* Microsecond srCFG_TIMESTAMP_UNITS treated as seconds.
 
''The following Runtime source files have been modified:''
  srtestutil.c
srutil.h


''The following [[Linux SDK]] files have been modified:''
''The following [[Linux SDK]] files have been modified:''
  palcfg.h
  palcfg.h
palIO.c
  palOS.c
  palOS.c
''The following [[WinMobile SDK]] files have been modified:''
stride.mak
palIO.c
  stride.c
  stride.c


[[Category:Release Notes]]
[[Category:Release Notes]]

Latest revision as of 22:21, 2 June 2010

Release Notes

This page documents the changes in STRIDE version 4.1.01x (code name Grandview).

Please review this information before upgrading from an earlier version.


Note that if you are upgrading from a previous installation you must uninstall your existing STRIDE before installing version 4.1.01x.


What's New

Based on customer feedback, in this release we have many key usability improvements and bug fixes.

Usability Improvements

STRIDE Runner

Stride Runner is a new command line host based tool that allows performing target diagnostics and running target-based tests from a host computer and optionally uploading results to STRIDE Test Space.

STRIDE Test Space

STRIDE Test Space is a hosted web application for storing and analyzing your test results. Manually (using the web interface) or automatically from one of the STRIDE execution tools (STRIDE Runner or STRIDE Studio) the user now can create a fluid hierarchy of test results that adapts to shifting needs during a product lifecycle.

Framework

The product has been repackaged. In addition to the STRIDE Studio package, a new STRIDE Framework package has been introduced. The new package provides support for Windows and Linux host clients.

Change Details

License

  • A new licensing scheme has been implemented. Existing licenses will not work anymore and need to be reissued. Old and new licenses could co-exist at the same location.

Fixes

This section describes defects which have been corrected in STRIDE and the customer tracking number associated with them, if any, in brackets [].

Host Tools

  • A new command line host based tool, STRIDE Runner, has been introduced.

Runtime

  • STRIDE Host Release 4.1.01x is compatible with the Runtime Version 4.1.01
  • Test Points APIs have been changed.
  • The signature of the PAL IO Service InData callback (palInDataCallback_t) has changed. The first argument is now a const pointer.
  • Most of the Runtime files have been modified. It is recomended that you update them all.
  • The following Runtime files have been removed:
srinstall.h
srinstall.c
  • The following new Runtime files have been added:
srdiag.h
srdiag.c

Minor and Patch releases

4.1.01a

New features and improvements:

Defects corrected and the customer tracking number associated with them, if any, in brackets []:

  • STRIDE Runner rejects device address with dots in the name.
  • STRIDE Runner may deadlock during diagnostics.
  • Removed extra "()" in the test point annotation
  • STRIDE enabled Target applications may log an error on exit.
  • In Linux SDK the PAL timer callback may deadlock.

The following Runtime source files have been modified:

srtest.c

The following Windows SDK files have been modified:

palIO.c

The following Linux SDK files have been modified:

palIO.c
palOS.c
palcfg.h

4.1.01b

Defects corrected and the customer tracking number associated with them, if any, in brackets []:

  • STRIDE Runner on Windows fails to operate on COM port number greater than 9.
  • STRIDE Runner on Windows may log an error like "log4cplus:ERROR Unable to open file: ...".
  • STRIDE Runner may fail to HTTP redirect on results uploading.
  • s2sbind and s2sinstrument on Windows may log an error like "log4cplus:ERROR Unable to open file: ...".
  • Resource leak when using Test Points.
  • Default STRIDE Runtime configuration values (srcfg.h) for a non-complex target are too restrictive.
  • In Windows SDK COM port connection may not work.
  • C/C++ Samples source code was updated to remove compiler warnings

The following Runtime source files have been modified:

srcfg.h
srdiag.h
srdiag.c
srmsgque.c
srmsgrt.c
srstid.c
srsuid.c

The following Windows SDK files have been modified:

palIO.c
palOS.c

4.1.01c

Defects corrected and the customer tracking number associated with them, if any, in brackets []:

The following Runtime source files have been modified:

srconn.h
srconn.c
srib.c
srtest.h
srtest.c

The following Linux SDK files have been modified:

palOS.c

The following Windows SDK files have been modified:

palIO.c
palOS.c

4.1.01d

Defects corrected and the customer tracking number associated with them, if any, in brackets []:

The following Runtime source files have been modified:

srtest.h
srtestpp.cpp

4.1.01e

Defects corrected and the customer tracking number associated with them, if any, in brackets []:

  • Dynamic test case result has no duration.
  • Unable to build in Windows on a read-only ClearCase mount.
  • Timestamp fraction (srCFG_TIMESTAMP_DURATION) not taken in consideration.

The following Runtime source files have been modified:

srtest.c
srtestutil.c
srutil.h

4.1.01f

Defects corrected and the customer tracking number associated with them, if any, in brackets []:

  • STRIDE Runner on Windows may log errors like "log4cplus:ERROR No appenders could be found ...".
  • s2sbind and s2sinstrument on Windows may log errors like "log4cplus:ERROR No appenders could be found ...".
  • Misbehaviour on Linux systems with non standard NPTL implementation.
  • Microsecond srCFG_TIMESTAMP_UNITS treated as seconds.

The following Runtime source files have been modified:

srtestutil.c
srutil.h

The following Linux SDK files have been modified:

palcfg.h
palOS.c
stride.c