Найти в Дзене
What Makes for a Good Unit Test?
There are certain properties that make a unit test both fit-for-purpose and also a good test. We’ve put together a list below and we’ve tried to keep it as language agnostic as possible in order to make it clear that it applies to your development environment as much as any other...
5 лет назад
How do you develop a good unit test?
Developing solid unit tests can be a challenge for the uninitiated. It’s important that any test you develop is a genuine test of the code as well as being replicable multiple times during the development cycle...
5 лет назад
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...
5 лет назад
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...
5 лет назад
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...
5 лет назад
Если нравится — подпишитесь
Так вы не пропустите новые публикации этого канала