class Bindings
{
[BeforeTestRun(Order = -1000)]
public static Init()
{
ReportPortal.SpecFlow.Plugin.Instance.SomeEvent += ... // subscribe on the event
}
}
Looks like RP plugin can be injected (I didn't verify it)
class Bindings
{
public Bindings(ReportPortal.SpecFlow.Plugin rp)
{
rp.SomeEvent += ...
}
}
It allows user to not specify the order of his bindings, and events may be non-static (what is good).
Now user should write something like
Looks like RP plugin can be injected (I didn't verify it)
It allows user to not specify the order of his bindings, and events may be non-static (what is good).