C/C++ unit testing framework for OpenVMS ?

Post Reply

Topic author
l.cedric
Active Contributor
Posts: 35
Joined: Thu Jul 18, 2019 8:18 am
Reputation: 0
Status: Offline

C/C++ unit testing framework for OpenVMS ?

Post by l.cedric » Wed Jun 09, 2021 3:29 am

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.


joukj
Member
Posts: 5
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: C/C++ unit testing framework for OpenVMS ?

Post by joukj » Wed Jun 09, 2021 9:26 am

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.


Topic author
l.cedric
Active Contributor
Posts: 35
Joined: Thu Jul 18, 2019 8:18 am
Reputation: 0
Status: Offline

Re: C/C++ unit testing framework for OpenVMS ?

Post by l.cedric » Wed Jun 09, 2021 11:30 am

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)

User avatar

arne_v
Active Contributor
Posts: 33
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 ?

Post by arne_v » Wed Jun 09, 2021 9:04 pm

An oldfashioned FTP client worked for me.
Arne
arne@vajhoej.dk
VMS user since 1986


Topic author
l.cedric
Active Contributor
Posts: 35
Joined: Thu Jul 18, 2019 8:18 am
Reputation: 0
Status: Offline

Re: C/C++ unit testing framework for OpenVMS ?

Post by l.cedric » Mon Jun 14, 2021 7:48 am

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" :-)
(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

TARissue.jpg

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.

User avatar

arne_v
Active Contributor
Posts: 33
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 ?

Post by arne_v » Tue Jun 22, 2021 9:45 am

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.
Arne
arne@vajhoej.dk
VMS user since 1986

Post Reply