Unit testing using File-Aid

In this Mainframe Forum - You can post your queries on FILE-AID tool

Moderators: Anuj Dhawan, Moderator Group

Post Reply
sambit
Member
Posts: 1
Joined: Wed Sep 22, 2010 4:31 pm

Unit testing using File-Aid

Post by sambit » Wed Sep 22, 2010 4:41 pm

How unit testing is performed for a COBOL-DB2 or COBOL-CICS program using File-aid?

I want to know that I have a batch program. how i can perform unit testing for this program?
Last edited by sambit on Thu Sep 23, 2010 3:12 pm, edited 1 time in total.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Thu Sep 23, 2010 12:47 pm

That depends on what do you want to do and your interpretation of "unit-testing" ? Please elaborate your question a bit more.
Regards,
Anuj

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

unit testing using FILE-AID

Post by Natarajan » Thu Sep 23, 2010 5:58 pm

Hi,

You can edit your input files to enter proper input data using FILE-AID.
you can create your layouts using FILE-AID.
You can enter required data into DB2 tables using FILE AID for DB2.
Overalll you can use FILEAID for creating test data in the unit testing process.

and then submit your your batch job / kick off your CICS job from CICS region.
see the output result in FILE-AID.
Natarajan
Chennai

amna567
Member
Posts: 3
Joined: Tue Mar 20, 2012 12:27 am

Post by amna567 » Tue Apr 17, 2012 9:41 pm

Unit test exercise a small piece of functionality within a system. Typically, the test runs individual functions against known inputs, with the results verified against known results. Unit test does not just test for successful outputs; they can also test for appropriate errors and boundary conditions. Since unit tests test the individual units of a system, you can ensure that the unit implements the correct functionality and encapsulates the appropriate error handling. You can use unit test to document the correct usage of each unit.
most technologies are using these type of testing for mainframes.
A suite of tests is provided into fine-grained individual tests to provide the excellent performance. You can use automated tools which are designed for Mainframe testing. These tools allow you to use the power and ease-of-use of unit testing at the power of visual basic at the fraction of the cost of automated testing tools. Mainframe unit testing toolkit is designed to make sure your mainframe testing accurate.
most technologies
Last edited by amna567 on Sat Apr 21, 2012 12:10 am, edited 3 times in total.

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Apr 18, 2012 12:18 am

You do realize that you have replied to a topic that has been quietly inactive for more than a year and a half. . .

You should also realize that your reply has NOTHING to do with the question asked. . . :(

dd

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Apr 18, 2012 2:39 pm

I see the similar behavior by this member on other Forum also... :|
Regards,
Anuj

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Wed Apr 18, 2012 10:53 pm

More advertising.
Regards
Nic

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Apr 18, 2012 11:36 pm

Maybe Krishna can ban this id before improper posting continues. . .

dd

academyindia4

Topic deleted by Admin

Post by academyindia4 » Sat Jan 30, 2016 10:38 pm

<< Content deleted By Admin >>

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others