Skip to main content

BeforeTestRun hooks parameter injection

Comments

3 comments

  • Jordan Western

    Hi Karl Farley,

    You need to use MSTest to access this class as described in the documentation, not the SpecFlow+ Runner.

    I'm going to speak with one of our senior devs to see if -

    1. This is still correct

    2. There is another way of accessing this data using the runner

    I will get back to you once I have an answer.

     

    0
  • Karl Farley

    Thanks for the reply.

    Yeah, I can do what I want to providing I use SpecRun.MSTest runner. However, we make use of the SpecRun.Runner html reporting which from my understanding, isn't output when using SpecRun.MSTest.

    This leave us in a situation where we either can't access BeforeTestRun using SpecRun.Runner or we don't get the html report if we use SpecRun.MSTest.

    0
  • Jordan Western

    Karl Farley

    Have you seen our LivingDoc and does it suit your needs? or are you set on using the runner generated html report?

    0

Please sign in to leave a comment.

Powered by Zendesk