CLLAX
Unit-testing for multi-threaded code – how should this be approached?
A question that often arises in development teams is “how do you approach unit-testing for multi-threaded code”? The thing that concerns developers is of course, the order of execution which can be difficult to control when the code is particularly complex. However, while ignoring testing can seem tempting – it’s important to test all of your code. Here are some ideas on how to approach it: Force the code to execute in a synchronous manner Given that a unit-test has the most value when it can be reproduced and executed again and again, multi-threaded code presents real challenges...
Advantages and disadvantages of unit-test application
Developers looking into implementing unit-testing within their environment are often worried about whether unit-testing will add to their bottom line or take away from it. It’s a fair question and it’s best answered by taking a look at the advantages and disadvantages of doing so and then seeing where the balance falls. The disadvantages of unit-testing From a busy development team’s point of view, the biggest disadvantage of taking on unit-testing is the initial time required to develop them. It’s...
What makes automated testing so important to companies?
Software companies looking to make the most money out of their applications, sooner or later are going to move over to automated testing. Why? Simply because it makes more sense than manual testing and provides a much higher-level of return on investment than manual testing. We’ve got a quick breakdown of the advantages of automated testing for you: • Cost reductions. This is the big one. Running a regular testing cycle costs money when you’re doing it by hand. The more times you do it – the more resources you have to commit...
Automated Testing 101
Automated testing can be a touch overwhelming when you first approach it. The good news is that with a methodical approach to automated testing you can quickly reap the rewards without losing your way. Here’s a simple guide to the main considerations when you want to get started with automated testing: Choose which Test Cases should be Automated You can’t automate everything overnight, so it pays to be selective when you begin. Focus your efforts on automating some of the following: • The most repetitive...
