We recently released to a number of teams our automated regression pack that has been worked on over the past few months. This regression pack tests legacy code, but contains a large number of tests. As a bit of background, a number of teams are working on new solutions whilst some are still working on legacy code. With this in mind we constructed an email with a list of guidelines when creating new tests that need to be added to this regression pack. I figured that these can be quite broad so should apply for any organisation, so thought it would make an interesting blog post... So here goes, when creating automated tests, it's important to consider and adhere to the following: - Think about data . The tests need to retrieve or set the data they need without any manual intervention - This should help them be more robust and easier to run without manual intervention. - The tests need to be idempotent - By making it so that each test is standalone and does...
Documenting my thoughts on life in the world of Testing
If you don't build your automation logs well - this will become:
ReplyDelete"I have to spend 3 days investigating a failed automated test, rather than spending a whole day running manual tests."
Drill-down logs infrastructure is highly required, yet, hardly any common tools for that.
@halperinko - Kobi Halperin
We've set up our automated tests to give us as much information as possible when they fail, a screenshot is captured and the assertions all have pretty descriptive error messages. When debugging we'll see the stack trace as much as possible, so it's not all doom and gloom.
DeleteAll too often however, tests don't have informative errors or it's difficult to find out why a test failed, then you'll get your 3 days investigating!!!
BitTorrent enables folks to share substantial information with one another using a peer-to-peer network, which indicates they share portions of the file with one another, rather then downloading the whole file from a central site (such as iTunes).
ReplyDeleteMacGIC - Get all Mac Tools at One Place!
Thank you for sharing your article. Great efforts put it to find the list of articles which is very useful to know, Definitely will share the same to other forums.
ReplyDeleterunkeeper