1. Konstantin Goldobin
  2. PowerBuilder
  3. Wednesday, 25 August 2021 13:53 PM UTC

Hello,

I was wondering if anyone happens to have a copy of the latest version of the unit testing framework PBUnit (3.2?). Its page at sourceforge says that it moved to Sybase's CodeXchange, which is dead, and I'm pretty much sure the version available at sourceforge (3.1) is not the latest because it does not have the Run all button, but I saw PBUnit screenshots with this button in.

K

Benjamin Gaesslein Accepted Answer Pending Moderation
  1. Friday, 27 August 2021 05:21 AM UTC
  2. PowerBuilder
  3. # 1

Hi Konstantin,

We're running a modified version based on Frank Mao's "PowerUnit" (based, in turn, on the original PBUint) which you can find here:

https://sourceforge.net/projects/powerunit/

https://maonet.wordpress.com/2008/02/05/pbunitpowerunit-quick-start/

 

Check it out, maybe this will help you.

Comment
  1. Raymond Longoria
  2. Thursday, 21 October 2021 21:53 PM UTC
Does this work with Powerbuilder 2019?
  1. Helpful
  1. Benjamin Gaesslein
  2. Monday, 1 November 2021 07:58 AM UTC
Yes, just migrate the code to the latest PB release.
  1. Helpful
There are no comments made yet.
Konstantin Goldobin Accepted Answer Pending Moderation
  1. Thursday, 2 September 2021 07:09 AM UTC
  2. PowerBuilder
  3. # 2
Hi Benjamin,

Thanks! Yes, I found this, too. Unfortunately, this version does not seem to support test suites. In addition, it does not work the same way as PBUnit. For example, if I run tests for PBUnit itself (which were part of PBUnit 3.1 download), the results differ in PBUnit and PowerUnit. I didn't have time to really look into the both issues, I only noticed in the source code that PowerUnit loads only descendants of testcase into the treeview, and even if I simply extend this part, PowerUnit cannot run test suites anyway. May I ask what kind of changes you made?
Comment
  1. Benjamin Gaesslein
  2. Friday, 10 September 2021 06:40 AM UTC
Hi Konstantin,

I'm afraid I can't properly summarize the changes, I wasn't the one who did them.

The lack of test suite support is not a large issue for us, we mostly use it to run through all available tests in our build pipeline.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.