Testing method of “black box” - a simple technology that could significantly affect the quality of the code. In this article, Elliott Rusty Harold demonstrates what happens when he deliberately injects random bad data into the application and looks that all this is not working properly. It also explains the use of technologies for creating secure code: checksums, XML data storage and verification of code that protects the program from the random data. The article ends with vital protection technology, namely the exercise of simulation approaches cracker package.
For many years I am amazed the number of damaged files, which can cause a crash Microsoft Word. Several inconsistencies bytes - and job application is no longer possible. Earlier, in an era of operating systems without the protection mechanisms of memory, because this could stop the work and the entire computer. Why Word does not recognize that the data obtained are not suitable, and just give an error message? Why is this application is damaging its own stack and other memory area only because of the fact that changed a few bits? Hardly Word - this is the only program that behaves so badly at a meeting with a malformed files.
This paper introduces the technology, which tries to prevent the trouble of this kind. When testing the method of “black box” you attack a program random wrong data (referred to as distortion (fuzz)), and then wait and see what broke. The trick of this method lies in the fact that testing is illogical. Instead of trying to guess what data might cause an error (as is usually the persons are involved in testing), an automated test simply shows the program as much as possible random “junk”. Errors, defined such testing, usually shocking programmers, because no logical thinking person could not even expect them.
24 December 2006 | , , , application, effect, technology, testing
JavaME available under the GPL
Using open source software to create Web-site for joint work. Creating a development environment in Windows
More reading:
• Méthode de test de “boîte noire”. »»»
Méthode de test de “boîte noire” - une technologie simple...
• Prüfverfahren der “black box”. »»»
Prüfverfahren der “Black Box” - eine einfache Technik, die wesentlich...
• Slideshow for Ajax with DHTML and XML. »»»
Learn how to create a slideshow on the client side...
• Technology Java, style IBM: Methods of Disposal memory. »»»
One of the big advantages of Java-platform is that it...
• Transformations of UML-C + + in the IBM Rational Systems Developer and Rational Software Architect. »»»
This article describes the features introduced in version 7.0 and...
Copyright © 2009
Новости для программистов