1. Jan Malte Podszuweit
  2. PowerBuilder
  3. Monday, 7 October 2024 12:17 PM UTC

Hello everyone, 

 

I just began looking into unit testing and quickly realized that the old tools like PBUnit/PowerUnit are deprecated, as it is also stated in some posts. So im asking how do you guys implement unit tests into your applications. And specifially how do you do handle more complex buisiness logic. 

And I've stumbled over PBTest. Is anyone using this?

What is the go to tool/framework for some tests. What is being used in the community?

 

I would love to hear all kinds of feedback, positive and negativ. Thanks in advance! 

 

Best regards, 

Jan Malte 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 7 October 2024 13:41 PM UTC
  2. PowerBuilder
  3. # 1

Hi Jan;

  FYI: many PB developers are now using AscentialTest for these types of basic & complex PB App testing ...

https://ascentialtest.novalys.net/EN/lp-powerbuilder-testing-tool.html

Regards ... Chris

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Monday, 7 October 2024 13:45 PM UTC
  2. PowerBuilder
  3. # 2

From what I have read/seen/heard, almost all testing software has difficulties with PowerBuilder applications because of the DataWindow... it presents challenges due to its unique technology. The one exception I know of that purportedly does  successfully interface with PB applications is AscentialTest from Zeenyx:

    https://www.zeenyx.com/

Best regards, John

 

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 7 October 2024 19:11 PM UTC
  2. PowerBuilder
  3. # 3

Hi Jan,

It's not very popular to use unit testing frameworks with PB and to best of my knowledge there is none that is actively maintained.  I think the reason for this is that most PB apps contain legacy code and in the old days apps were developed without clean partitioning of UI from the business logic... so these unit testing frameworks cannot automate much.

However, that doesn't mean you cannot do automated testing.  It's just you would be using a functional testing tool that tests the application through the UI.  Zeenyx is one example that Chris and John mentioned and quite popular, but we have customers that use other ones such as Silk Test, UFT, and Smart Bear.

Comment
  1. Miguel Leeuwe
  2. Tuesday, 8 October 2024 07:18 AM UTC
I totally agree. The time spent on writing the unit tests could actually better be spent on doing "manual" tests or test driven design.
  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.