我正在使用以下内容

Specflow - 2.2.1 nUnit - 3.9.0

我希望有可能允许同一功能中的两个场景并行运行 . 这样做的原因是为了加快测试套件的速度 .

目标是在同一个功能中并行运行一些测试(2-3),而不是按顺序运行 .

有谁知道这有可能吗?

我已将此添加到我的程序集中 -

[assembly:Parallelizable(ParallelScope.Children)]

但我现在看到以下错误

An item with the same key has already been added.
Object reference not set to an instance of an object.