4

Now I am trying with a Java library called tn5250j, which provides scripting capabilities, but it is not well documented and I didn't find much on the Internet.

Does anyone have experience with this library, or with any other tool in order to automate test cases for a COBOL program, running on an iSeries/AS400 server?

closed as unclear what you're asking by IAmMilinPatel, Bharat Mane, NarendraC, Kate Paulk, Chris Kenst Jan 5 '17 at 21:41

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • No experience but I see github.com/gbeine/COBOLUnit – user246 Aug 7 '15 at 21:52
  • Hi, thank you! It's a different approach. You need to program Cobol and test the Cobol methods. I want to test the system as a black box, actually, I don't have any access to the source code. – Federico Toledo Aug 8 '15 at 18:16
  • The only times I made that, I mad a custom tool specific to my needs. In COBOL. – gazzz0x2z Dec 8 '15 at 11:57
  • What's your actual question? Does anyone have experience? The answer is yes. Does that solve your question? No. Please rephrase it to get helpful answers. – Thomas Weller Jan 1 '17 at 15:45
1

You mentioned black box testing and given that I would consider a different language / framework for the testing.

For example I recently was writing a bunch of bash programs and wrote my own test runner in bash.

Basically, to get started you run the program / module and then you examine the results in comparison to what you expect. So the test runner does that, it runs the programs and examine the output and can pass/fail depending on whether it is correct.

  • @FedericoToledo - could you upvote the answer and accept it, if it works for you? – Kate Paulk Jul 12 '17 at 12:16
1

I'm not expirienced in COBOL so also not in testing it but here are some links I found on google. If they are useful I can't evaluate. (@All: But as this text is too long for comment I put it as an answer.)

This shows you what you've tested but won't automate it:

  • Thank you bish! I've already googled it and see the same info, but not what I'm looking for (commertial, different approaches). Thank you anyway. Hope to find someone with experience and some references on that – Federico Toledo Aug 10 '15 at 14:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.