Page 1 of 1
C/C++ unit testing framework for OpenVMS ?
Posted: Wed Jun 09, 2021 3:29 am
by l.cedric
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.
Re: C/C++ unit testing framework for OpenVMS ?
Posted: Wed Jun 09, 2021 9:26 am
by joukj
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.
Re: C/C++ unit testing framework for OpenVMS ?
Posted: Wed Jun 09, 2021 11:30 am
by l.cedric
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)
Re: C/C++ unit testing framework for OpenVMS ?
Posted: Wed Jun 09, 2021 9:04 pm
by arne_v
An oldfashioned FTP client worked for me.
Re: C/C++ unit testing framework for OpenVMS ?
Posted: Mon Jun 14, 2021 7:48 am
by l.cedric
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
Nevertheless, from what I understand from what you say,
today on OpenVMS, it is better to use
Catch for C/C++ ?
Re: C/C++ unit testing framework for OpenVMS ?
Posted: Tue Jun 22, 2021 9:45 am
by arne_v
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.