Hello,
Does it exist a C/C++ unit testing framework already ported to OpenVMS ?
(Like CUnit, CppUnit or GoogleTest : https://en.wikipedia.org/wiki/List_of_u ... frameworks)
Thanks for any help.
C/C++ unit testing framework for OpenVMS ?
Re: C/C++ unit testing framework for OpenVMS ?
CPPunit was used to test previous versions of wxWidgets. At that time I had a version ported. (see http://nchrem.tnw.tudelft.nl/software2.html#CPPUNIT
today Catch is used in wxwidgets. You find a reference on the same page.
today Catch is used in wxwidgets. You find a reference on the same page.
-
Topic author - Valued Contributor
- Posts: 51
- Joined: Thu Jul 18, 2019 8:18 am
- Reputation: 0
- Status: Offline
Re: C/C++ unit testing framework for OpenVMS ?
I've already seen this page, but :
* despite the sourceforge.net distribution is available, none OpenVMS information inside.
* And the other 2 links for VMS patch don't work from my Chrome browser, and they "... includes OpenVMS support"
(ftp://anonymous:%27%27%27%27@nchrem.tnw ... spatch.tar
ftp://anonymous:%27%27%27%27@nchrem.tnw ... spatch.tar)
* despite the sourceforge.net distribution is available, none OpenVMS information inside.
* And the other 2 links for VMS patch don't work from my Chrome browser, and they "... includes OpenVMS support"
![Confused :?](./images/smilies/icon_e_confused.gif)
(ftp://anonymous:%27%27%27%27@nchrem.tnw ... spatch.tar
ftp://anonymous:%27%27%27%27@nchrem.tnw ... spatch.tar)
-
- Master
- Posts: 347
- Joined: Fri Apr 17, 2020 7:31 pm
- Reputation: 0
- Location: Rhode Island, USA
- Status: Offline
- Contact:
Re: C/C++ unit testing framework for OpenVMS ?
An oldfashioned FTP client worked for me.
-
Topic author - Valued Contributor
- Posts: 51
- Joined: Thu Jul 18, 2019 8:18 am
- Reputation: 0
- Status: Offline
Re: C/C++ unit testing framework for OpenVMS ?
Thanks Arne,
I had to deal with my company's proxy/VPN...
Now, thanks to Filezilla, I can see all available FTP folders.
I even discovered the other test framework (you've told me above) that has been ported to VMS: "Catch"![Smile :-)](./images/smilies/icon_e_smile.gif)
(Doubtless it worth a try)
However, although the contents of the cunit .ZIP files are readable, the descrip.mms files from the cppunit .TAR files seem to be corrupted!
CPPUNIT_VMSPATCH.TAR
CPPUNIT-1_12_1_VMSPATCH.TAR
They are all on 1 line with "N********************" at the beginning
(See my screenshot)
Remarks:
* I tested another .TAR which is ok (ABINIT_4_2_1_VMSPATCH.TAR)
* I use 7-zip
Nevertheless, from what I understand from what you say, today on OpenVMS, it is better to use Catch for C/C++ ?
I had to deal with my company's proxy/VPN...
Now, thanks to Filezilla, I can see all available FTP folders.
I even discovered the other test framework (you've told me above) that has been ported to VMS: "Catch"
![Smile :-)](./images/smilies/icon_e_smile.gif)
(Doubtless it worth a try)
However, although the contents of the cunit .ZIP files are readable, the descrip.mms files from the cppunit .TAR files seem to be corrupted!
![Confused :?](./images/smilies/icon_e_confused.gif)
CPPUNIT_VMSPATCH.TAR
CPPUNIT-1_12_1_VMSPATCH.TAR
They are all on 1 line with "N********************" at the beginning
(See my screenshot)
Remarks:
* I tested another .TAR which is ok (ABINIT_4_2_1_VMSPATCH.TAR)
* I use 7-zip
Nevertheless, from what I understand from what you say, today on OpenVMS, it is better to use Catch for C/C++ ?
Last edited by l.cedric on Mon Jun 14, 2021 11:27 am, edited 4 times in total.
-
- Master
- Posts: 347
- Joined: Fri Apr 17, 2020 7:31 pm
- Reputation: 0
- Location: Rhode Island, USA
- Status: Offline
- Contact:
Re: C/C++ unit testing framework for OpenVMS ?
I believe joukj stated that WxWidget had switched from cppunit to catch.
And it may be better. I have not used any of them, so I can't say.
But I am sure any unit test framework is better than no unit test frame.
And it may be better. I have not used any of them, so I can't say.
But I am sure any unit test framework is better than no unit test frame.