Update the assert result to database RRS feed

  • Question

  • Hi,

    How to insert /update the assert result or unit test result like (Passed/failed) to database.

    In my test scenario i have to database connection one am getting the connection from MyClassInitialize Method in unit test class and another from Data source Attribute of the Test Method. When unit test executed with out come result from assert.equal method as passed or failed value ,i have update /insert to the Data source attribute.

    The input value is from Data source Attribute and target is constructed on another connection string session.

    Is there any way to capture the test result and update it to one of the column in database.

    Thank you,


    Thursday, June 19, 2014 8:56 AM