开发者

Unit testing: TEST Fixture, or TEXT Fixture

I'm reading a book Microso开发者_Python百科ft .NET: Architecting Applications for the Enterprise by Dino Esposito.

In chapter 3 it talks about Unit testing and says "You start by grouping related tests in a text fixture. Text fixtures are just test-specific classes where methods typically represent tests to run."

It mentions text fixtures over and over again, so it can't be a typo.

Does the book mean "test fixtures"? Or are these two separate things?


It's definitely an error we made in the book, and three people couldn't catch it!


I would say it can't be anything else but a typo and should read "test fixture".

I'm sure this Good C# Unit testing book SO question will get you a good book to read.


Test fixture is the only one that I ever heard of.
"Test fixture" must be a typo.


It is a typo. I am always catching myself writing Text when I mean Test. I guess Dino has the same affliction.


If it's a typo, then it is a weird case of collective mistyping/auto complete errors ever. Google comes back with loads of hits. It's certainly referring to the same thing though so either way i think that answers the same question. I would say "text fixture" is incorrect though even if it used deliberately.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜