BDD for C# NUnit

后端 未结 5 1713
甜味超标
甜味超标 2020-12-31 12:09

I\'ve been using a home brewed BDD Spec extension for writing BDD style tests in NUnit, and I wanted to see what everyone thought. Does it add value? Does is suck? If so why

5条回答
  •  时光说笑
    2020-12-31 12:47

    My issue with this is having "something".ProveBy() does not match the text being displayed later ("When ... it should ..."). I think the concept of BDD is to keep the test wording and the test report as similar as possible.

提交回复
热议问题