Writing standards for unit testing

前端 未结 10 957
自闭症患者
自闭症患者 2021-01-31 12:05

I plan to introduce a set of standards for writing unit tests into my team. But what to include?

These two posts (Unit test naming best practices and Best practices for

10条回答
  •  故里飘歌
    2021-01-31 12:56

    If you are using tools from the family of Junit (OCunit, SHunit, ...), names of tests already follow some rules.

    For my tests, I use custom doxygen tags in order to gather their documentation in a specific page.

提交回复
热议问题