How can i generate the customize json report for ruby - cucumber results

22 views
Skip to first unread message

Rad N

unread,
Sep 29, 2015, 3:10:06 AM9/29/15
to Cucumber and Cheese
Hi , 
I am trying to generate Json report which can be customized life below,
Is there possibility to generate this kind report or can we have control on json report generation in ruby cucumber framework. can anyone please help me with it 

    {
            "NUM_OF_FAILED" : 5,
            "START_TIME" : 1440798560000,
            "END_TIME" : 1440813689000,
            "SUITE_NAME" : "Regression",
            "TEST_CLASSES" : [
                {
                    "NUM_OF_FAILED": 5,
                    "TEST_CASES": [
                        {
                            "STATUS": 1,
                            "START_TIME": "Tue AUG 28 14:49:20 PDT 2015",
                            "END_TIME": "Tue AUG 28 19:01:29 PDT 2015",
                            "HOST": null,
                            "TEST_DATA": [],
                            "TEST_CASE_NAME": "rada"
                        },
                        {
                            "STATUS": 2,
                            "START_TIME": "Tue AUG 28 14:49:20 PDT 2015",
                            "END_TIME": "Tue AUG 28 19:01:29 PDT 2015",
                            "ERROR_MESSAGE": "CR 13717",
                            "HOST": null,
                            "TEST_DATA": [],
                            "TEST_CASE_NAME": "Extend_Customer_Contract"
                        },
                    
                  ],
                  "NUM_OF_SKIPPED" : 0,
                  "NUM_OF_PASSED" : 22,
                  "ENVIRONMENT_DETAILS" : {
    
                  }
    }
Reply all
Reply to author
Forward
0 new messages