Skip to content

Merge Test Results #7

@MrSoerenAndersen

Description

@MrSoerenAndersen

ReqnRoll BDD tests can be executed in multiple pipelines or sessions, and it is often desirable to merge the results into a single consolidated test report. This feature is already available through a custom CLI program, although the core functionality methods may be updated. For inspiration, see the program file in the CLI project.

Program.cs

if (args.Length == 5 && args[0] == "--merge")
{
    // Generating a LivingDoc Test Report based on Two Cucumber Messages JSON files...
    Console.WriteLine("");
    Console.WriteLine("Generating LivingDoc Test Report...");
    Console.WriteLine("InputMaster: " + args[1]);
    Console.WriteLine("InputSlave: " + args[2]);
    Console.WriteLine("Output: " + args[3]);
    Console.WriteLine("Title: " + args[4]);

    var livingDocConverter = new LivingDocConverter();
    livingDocConverter.Generate(new List<string>() { args[1], args[2] }, args[3], args[4]);

    Console.WriteLine("Generating LivingDoc Report Completed");
    Console.WriteLine("");
}

If you find this interesting, please give it a like and leave a comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions