2022 Developer Survey is open! Take survey.

New answers tagged

2 votes

Are there specific coding guidelines for test automation?

One classic resource is Meszaros Gerard's book xUnit Test Patterns: Refactoring Test Code. There is also a website in wiki format for most of the concepts there. Kent Beck wrote a blog Test Desiterata,...
user avatar
  • 9,813
6 votes

Are there specific coding guidelines for test automation?

Summary of Code Quality Guidelines for Automation Code Prioritize english readability for descriptions and code Each test has an assertion at the end of the test Consider mocking and stubbing ...
user avatar
4 votes

Are there specific coding guidelines for test automation?

Code is code, regardless if it's for feature code or test code. To me, the only thing that's truly different between feature code and test code is purpose, perspective, and motivations. That means, ...
user avatar
  • 1,557

Top 50 recent answers are included