Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在 ScenarioContext.Current 中插入一个值,但由于某种原因 ScenarioContext.Current 为空。
如果您在 [BeforeFeature] 中,您是否尝试过使用 FeatureContext.Current 代替?
我发现 [BeforeFeature] 中的 ScenarioContext.Current 为空,这不是我最初的预期。你从哪里调用 ScenarioContext.Current ?