Upgrading From v1.10 to v2.0.0
All your existing unit test suites should compile and run fine with iRPGUnit 2.0. However:
Test your existing test suites carefully in a sandbox
environment, before upgrading to iRPGUnit 2.0.0. |
Unit test, that uses the following assertions run and compile fine with all
versions of RPGUnit:
- assert()
- aEqual()
- iEqual()
- fail()
The following test cases (compiled with v1.10) do not successfully run with iRPGUnit:
- Test cases TESTASSERTWITHFAILURE of test suite ASSERTT.
- Test cases TESTASSERTWITHSUCCESS of test suite ASSERTT.
- Test cases TESTBIGINTEGEREQUALITY of test suite ASSERTT.
- Test cases TESTGOODBYEISNOTHELLO of test suite ASSERTT.
- Test cases TESTHELLOEQUALSHELLO of test suite ASSERTT.
- Test cases TESTTWOANDTWOEQUALSFOUR of test suite ASSERTT.
- Test cases TESTTWOANDTWOISNOTEQUALTOFIVE of test suite ASSERTT.
- Test cases TESTBIGINTEGER of test suite RUACPTST.
- Test cases TESTCHOOSETEST of test suite RUACPTST.
- Test cases TESTFAILURES of test suite RUACPTST.
- Test cases TESTSTACKTRACE of test suite RUACPTST.
- Test cases TEST_LOADTESTSUITE of test suite RUNT.
- Test cases TEST_RUNTESTPROC_ERRORINSETUP of test suite RUNT.
- Test cases TEST_RUNTESTPROC_ERRORINTEARDOWN of test suite RUNT.
- Test cases TEST_RUNTESTPROC_ERRORINTEST of test suite RUNT.
- Test cases TEST_RUNTESTPROC_FAILUREINTEST of test suite RUNT.
- Test cases TEST_RUNTESTPROC_TEARDOWNAFTERERRORINSETUP of test suite RUNT.
The following test suites do not compile with iRPGUnit:
- Test suite CMDRUNT: Prototype logCompMsg() of module CMDRUNLOG has been changed.
- Test suite EXTTSTT: Parameter mockSrvPgm of procedure getTestSuite() has been removed.
- Test suite RUCRTTSTT: /COPY member RUCRTTST has been renamed to CRTTST and number of parameters of getCrtRpgModCmd() and getCrtSrvPgmCmd() have changed.
- Test suite RUNT: /COPY member RUCRTTST has been renamed to CMDRUNSRV.