Azure / simdem

Tool for Simulating Demo's, delivering Tutorials and using documentation as tests.
MIT License
34 stars 17 forks source link

Output summary data for integration into failure tracking #57

Closed SorraTheOrc closed 7 years ago

SorraTheOrc commented 7 years ago

In Azure we use a failure tracking DB to help prioritize failures in the system. To do this Simdem needs to output results in a given form. We should provide an --output parameter which takes the following values:

logs all output from the process (current behavior) summary summary data (see strcut definition below) 'jsona JSON string containing the same summary data assummaryplus an additionallog` field that contains all log output.

type TestRunQos 
struct {
    TimeStampUTC time.Time // partition key
    TestName string 
    TestType string
    SubscriptionID string
    ResourceGroup string
    Region string
    Orchestrator string
    Success bool
    FailureStr string
}