hiptest-publisher
hiptest-publisher copied to clipboard
Possibility of custom file export format
hi , I'm lead for a fin tech company. They have their own custom test framework for which we are evaluating to replace the ui. To run the tests, we need it in certain format like the following in a flat file. This file will have module name to test, test case name, input and expected output. We also have hooks like all data need to be matched, data is ordered. How can we export in this format?
a2test.testcase testcase:MODULENAME.Conf working:Y dropbaseoutput:Y comment:"XDP TAQ Conf"
a2test.topt testcase:MODULENAME.Conf matchall:N ordered:Y comment:""
a2test.tmsg tmsg:MODULENAME.Conf.in.test/010 text:'proto1.TEST_Module21Msg product_id:test_ibf channel_id:1 payload:"ldp21.SequenceReset productID:test_ibf channelID:1"'
a2test.tmsg tmsg:MODULENAME.Conf.in.test/020 text:'proto1.TEST_Module21Msg txn_id:1 product_id:test_ibf channel_id:1 sym_id:1 payload:"ldp21.SymbolMapping symbolIndex:1
symbol:TESTFIN marketID:test_test_cash systemID:1 exchangeCode:XTYS priceScaleCode:6 securityType:test lotSize:100 prevClosePrice:35000000 priceResolution
:all_penny roundLot:no"'
a2test.tmsg tmsg:MODULENAME.Conf.outexp.ssim/10000 text:'l2xdp.module21TAQ data:"3,1,TESTFIN,3,1,N,C,100,35,0,0,N,0,0\n"'
a2test.tmsg tmsg:MODULENAME.Conf.outexp.ssim/10000 text:'l2xdp.module21TAQ data:"3,1,TESTFIN,3,1,N,C,100,35,0,0,N,0,0\n"'
Thanks, Vandana