Specflow parallel testing logs

55 views
Skip to first unread message

Anuja Jayaprakash

unread,
Aug 6, 2020, 2:37:14 PM8/6/20
to SpecFlow

I am using Specflow.MsTest and executing acceptance tests in parallel. I'm using log4net for logging.

When we run tests in parallel, the order of the log entries get scrambled up in the log file. I want to sort the log file based on scenario. How can I achieve that? 

I want the logs to be displayed in the order and grouping I show below:

Log File
Scenario : A
 Login successful 
Save 
 **********scenario ends ***************
 Scenario : B 
 Login successful 
 Save
 **********scenario ends ***************  
Reply all
Reply to author
Forward
0 new messages