ProUnit - unit testing framework

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Problem opening ProUnit GUI

Hello, I tried to open the ProUnit GUI (ProUnitGUI.w) in AppBuilder and got the following error:

cfImageList.ImageList
Unable to create control.

The license file for the specified ActiveX control was not found.

Does someone knows if there's something I need to make reference to in order to run the GUI front-end? I am using OpenEdge 10.0B.

Thanks,
Luis


Problem opening ProUnit GUI

Fixed the problem by installing Visual Basic .Net on my machine. Tried to register the required ActiveX controls individually using regsvr32 but didn't work.

Luis


Couldn't initialise the framework

I downloaded the ProUnit frame work which has some prounit.pl and some non progress related files. How do I start the application ? What I mean is that what is the start up procedure using which I can start the application?


Running ProUnit

Once you have copied the folders (tty and gui) to your OpenEdge home directory it will be available on every new session you start.
You just have to open the editor and run ProUnitGUI.w.

Please chech the documentation at http://prounit.sourceforge.net/userguide.html. It's also available in the zip file you've downloaded.

Running the GUI is useful specially when you're developing a new test but the best approach would be to combine proUnit with PCT and create an ant script to run your test suite. Then you could use a continuous integration tool like Bamboo, Jenkins or Luntbuild to have your product automatically tested every time you have any change in your source control.


Problem I face is I don't

Problem I face is I don't see ProUnitGUI.w inside the tty or gui directories. I added these direcories in my propath and from the procedure editor I said run ProUnitGUI.w but it couldn't find that program and says ProUnitGUI.w. not found.


These files are in the .pl

These files are in the .pl files.. so if you've decided not to copy the folders to your DLC directory, you should add not only the gui folder but also prounit.pl. Since you're (probably) running the graphical editor you should have a propath line this:

.,
C:\prounit\gui,
C:\prounit\gui\prounit.pl,

C:\dlc102b\gui,
C:\dlc102b\gui\adecomm.pl,
C:\dlc102b\gui\adecomp.pl,
C:\dlc102b\gui\adedesk.pl,
C:\dlc102b\gui\adedict.pl,
C:\dlc102b\gui\adeedit.pl,
C:\dlc102b\gui\adeicon.pl,
C:\dlc102b\gui\aderes.pl,
C:\dlc102b\gui\adeshar.pl,
C:\dlc102b\gui\adetran.pl,
C:\dlc102b\gui\adeuib.pl,
C:\dlc102b\gui\adeweb.pl,
C:\dlc102b\gui\adexml.pl,
C:\dlc102b\gui\prodict.pl,
C:\dlc102b\gui\protools.pl,
C:\dlc102b,
C:\dlc102b\bin


Thanks fcordova!! It worked

Thanks fcordova!! It worked for me.