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?

4
  • No experience but I see github.com/gbeine/COBOLUnit
    – user246
    Commented Aug 7, 2015 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. Commented Aug 8, 2015 at 18:16
  • The only times I made that, I mad a custom tool specific to my needs. In COBOL.
    – gazzz0x2z
    Commented Dec 8, 2015 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. Commented Jan 1, 2017 at 15:45

2 Answers 2

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.

1
  • @FedericoToledo - could you upvote the answer and accept it, if it works for you?
    – Kate Paulk
    Commented Jul 12, 2017 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:

1
  • 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 Commented Aug 10, 2015 at 14:29

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