Method and Apparatus for Performing State-Table Driven Regression Testing
First Claim
1. A computer implemented method for testing cross-platform functionality of source code, comprising:
- wherein use of said source code for generation of both said gold log file and said test log file substantially confirms functionality of said source code on said target system.
3 Assignments
0 Petitions
Accused Products
Abstract
The invention relates to a method and apparatus for performing state-table driven regression testing. More particularly, the invention relates to an application wherein a release build is used without the use of a debug build, which ensures release of the same code that was tested with the exception of the device driver. In a third embodiment, the tested code is the same as the release code, thereby enhancing quality control, quality assurance, verification, and/or validation procedures are maintained. In one embodiment of the invention, at least one state table is used in testing release code. In another embodiment, the test code is developed using a first platform and the release code is used on a second, distinct platform. In yet another embodiment, the invention relates to regression testing using simulated faults as monitored through log files.
-
Citations
34 Claims
-
1. A computer implemented method for testing cross-platform functionality of source code, comprising:
wherein use of said source code for generation of both said gold log file and said test log file substantially confirms functionality of said source code on said target system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
19. A computer implemented method for testing cross-platform functionality of source code, comprising:
-
providing state table driven source code operational on a host system;
loading a state table from a computer readable storage medium, wherein said state table directs functions to test within said source code, wherein said state table covers a multitude of subroutines and paths of said source code;
simulating hardware conditions via a hardware simulator to said host system, wherein said host system comprises a software driver interfaced directly with said hardware simulator;
generating a gold log file through testing of a combination of said state table and said hardware conditions to said source code;
performing automated regression testing on a target system using said source code and said hardware simulator and said state table to yield a test log file;
comparing said test log file to said gold log file, wherein said step of comparing substantially confirms functionality of said source code on said target system. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. An apparatus having hardware and software for testing embedded source code, comprising:
-
a target system having a first central processing unit, wherein said target system contains object code derived from said source code, wherein said source code is generated using a host system having a second central processing unit, wherein said first central processing unit and said second central processing unit are from separate families of central processors, wherein said target system comprises;
a stand alone device;
a state table;
a hardware configuration parameter; and
a gold log file generated on said host system, wherein said embedded source code generated on said host system operates within said target system, wherein said gold log was generated by applying said state table to said source code on said host system, wherein said state table directs functions to test within said source code, wherein said state table covers a multitude of subroutines and paths of said source code;
wherein said target system uses automated regression testing, said state table, and said hardware configuration parameter to generate a test log file, wherein both said source code and said object code contain no enabled debug flags; and
wherein a comparison of said log file with said gold file validates said source and object code. - View Dependent Claims (30, 31, 32)
-
-
33. A method for testing cross-platform functionality of source code, comprising:
-
providing state table driven embedded source code generated on a host system;
loading a state table from a computer readable storage medium;
generating a gold log file by applying said state table to said source code, wherein said state table directs functions to test within said source code, wherein said state table covers a multitude of subroutines and paths of said source code;
performing automated regression testing on a target system using said source code and said state table to yield a test log file, wherein said host system uses a first computer processor from a first family and said target system uses a second computer processor from a second family;
comparing said test log file to said gold log file. - View Dependent Claims (34)
-
Specification