Robustness testing is any quality assurance methodology focused on testing the robustness of software. Robustness testing has also been used to describe the process of verifying the robustness (i.e. correctness) of test cases in a test process.
In computer science, robustness is the ability of a computer system to cope with errors during execution and cope with erroneous input. Robustness can encompass many areas of computer science, such as robust programming, robust machine learning, and Robust Security Network.
ANSI and IEEE have defined robustness as the degree to which a system or component can function correctly in the presence of invalid inputs or stressful environmental conditions.[1]
The term 'robustness testing' was first used by the Ballista project at Carnegie Mellon University. They performed testing of operating systems for dependability based on the data types of POSIX API, producing complete system crashes in some systems. [2] The term was also used by OUSPG and VTT researchers taking part in the PROTOS project in the context of software security testing.[3] Eventually the term Fuzzing (which security people use for mostly non-intelligent and random robustness testing) extended to also cover model-based robustness testing.
See also[edit]
References[edit]
- ^'Standard Glossary of Software Engineering Terminology (ANSI)'. The Institute of Electrical and Electronics Engineers Inc. 1991.
- ^Kropp, Koopman, Siewiorek. 1998. Automated Robustness Testing of Off-the_Shelf Software Components. Proceedings of FTCS'98. http://www.ece.cmu.edu/~koopman/ballista/ftcs98/ftcs98.pdf
- ^Kaksonen, Rauli. 2001. A Functional Method for Assessing Protocol Implementation Security (Licentiate thesis). Espoo. Technical Research Centre of Finland, VTT Publications 448. 128 p. + app. 15 p. ISBN951-38-5873-1 (soft back ed.) ISBN951-38-5874-X (on-line ed.). https://www.ee.oulu.fi/research/ouspg/PROTOS_VTT2001-functional
Nov 27, 2017 Robustness Testing Technique with Solved Numerical Example - Software Engineering Lectures Hindi and English. Our goal is to dramatically increase the reliability and robustness of NASA's mission related software, and the productivity of its software engineering, through the research, development, application, and transfer of automated software engineering technology that scales to meet NASA's software challenges. Robustness testing is any quality assurance methodology focused on testing the robustness of software. Robustness testing has also been used to describe the process of verifying the robustness (i.e. Correctness) of test cases in a test process. Distributed applications research might be fertile ground for fault-tolerance criteria, and Google has published some of their research that might be relevant. Data modeling research likely addresses questions of robustness, as scientists are particularly interested in the properties of robustness that yield reproducible results. Robustness has been defined by the Food and Drug Administration as 'the degree to which a software system or component can function correctly in the presence of invalid inputs or stressful.
Robustness Meaning In Software Engineering
Complex systems |
---|
Topics |
Emergence |
Collective consciousness |
Social dynamics Collective intelligence |
Scale-free networks Social network analysis |
Artificial neural networks Hp simplepass fingerprint reader windows 10 download. Evolutionary computation |
Spatial fractals Reaction-diffusion systems https://natomg.netlify.app/datacad-17-download.html. Settle your doubts in DBUG, the application's official forum, and take part in the large user community. Nearly 30 years offering solutions to industry professionals. Geomorphology |
Homeostasis Operationalization |
Time series analysis Ordinary differential equations |
Prisoner's dilemma Rational choice theory |
In computer science, robustness is the ability of a computer system to cope with errors during execution[1][2] and cope with erroneous input.[2] Robustness can encompass many areas of computer science, such as robust programming, robust machine learning, and Robust Security Network. Formal techniques, such as fuzz testing, are essential to showing robustness since this type of testing involves invalid or unexpected inputs. Alternatively, fault injection can be used to test robustness. Various commercial products perform robustness testing of software analysis.[3]
- 3Areas
- 3.1Robust programming
Introduction[edit]
In general, building robust systems that encompass every point of possible failure is difficult because of the vast quantity of possible inputs and input combinations.[4] Since all inputs and input combinations would require too much time to test, developers cannot run through all cases exhaustively. Instead, the developer will try to generalize such cases.[5] For example, imagine inputting some integer values. Some selected inputs might consist of a negative number, zero, and a positive number. When using these numbers to test software in this way, the developer generalizes the set of all reals into three numbers. This is a more efficient and manageable method, but more prone to failure. Generalizing test cases is an example of just one technique to deal with failure—specifically, failure due to invalid user input. Systems generally may also fail due to other reasons as well, such as disconnecting from a network.
Regardless, complex systems should still handle any errors encountered gracefully. There are many examples of such successful systems. Some of the most robust systems are evolvable and can be easily adapted to new situations.[4]
Challenges[edit]
Programs and software are tools focused on a very specific task, and thus aren't generalized and flexible.[4] However, observations in systems such as the internet or biological systems demonstrate adaptation to their environments. One of the ways biological systems adapt to environments is through the use of redundancy.[4] Many organs are redundant in humans. The kidney is one such example. Humans generally only need one kidney, but having a second kidney allows room for failure. This same principle may be taken to apply to software, but there are some challenges.When applying the principle of redundancy to computer science, blindly adding code is not suggested. Blindly adding code introduces more errors, makes the system more complex, and renders it harder to understand.[6] Code that doesn't provide any reinforcement to the already existing code is unwanted. The new code must instead possess equivalent functionality, so that if a function is broken, another providing the same function can replace it, using manual or automated software diversity. To do so, the new code must know how and when to accommodate the failure point.[4] This means more logic needs to be added to the system. But as a system adds more logic, components, and increases in size, it becomes more complex. Thus, when making a more redundant system, the system also becomes more complex and developers must consider balancing redundancy with complexity.
Currently, computer science practices do not focus on building robust systems.[4] Rather, they tend to focus on scalability and efficiency. One of the main reasons why there is no focus on robustness today is because it is hard to do in a general way.[4]
Areas[edit]
Robust programming[edit]
Robust programming is a style of programming that focuses on handling unexpected termination and unexpected actions.[7] It requires code to handle these terminations and actions gracefully by displaying accurate and unambiguous error messages. These error messages allow the user to more easily debug the program.
Principles[edit]
Paranoia - When building software, the programmer assumes users are out to break their code.[7] The programmer also assumes that his or her own written code may fail or work incorrectly.[7]
Stupidity - The programmer assumes users will try incorrect, bogus and malformed inputs.[7] As a consequence, the programmer returns to the user an unambiguous, intuitive error message that does not require looking up error codes. The error message should try to be as accurate as possible without being misleading to the user, so that the problem can be fixed with ease.
Dangerous implements - Users should not gain access to libraries, data structures, or pointers to data structures.[7] This information should be hidden from the user so that the user doesn't accidentally modify them and introduce a bug in the code. When such interfaces are correctly built, users use them without finding loopholes to modify the interface. The interface should already be correctly implemented, so the user does not need to make modifications. The user therefore focuses solely on his or her own code.
Can't happen - Very often, code is modified and may introduce a possibility that an 'impossible' case occurs. Impossible cases are therefore assumed to be highly unlikely instead.[7] The developer thinks about how to handle the case that is highly unlikely, and implements the handling accordingly.
Robust machine learning[edit]
Robustness In Software Engineering
Robust machine learning typically refers to the robustness of machine learning algorithms. For a machine learning algorithm to be considered robust, either the testing error has to be consistent with the training error, or the performance is stable after adding some noise to the dataset.[8]
Robust network design[edit]
Robust network design is the study of network design in the face of variable or uncertain demands.[9] In a sense, robustness in network design is broad just like robustness in software design because of the vast possibilities of changes or inputs.
Robust algorithms[edit]
There exists algorithms that tolerate errors in the input[10] or during the computation.[11] In that case, the computation eventually converges to the correct output. This phenomenon has been called 'correctness attraction'.[11]
See also[edit]
References[edit]
- ^'A Model-Based Approach for Robustness Testing'(PDF). Dl.ifip.org. Retrieved 2016-11-13.
- ^ ab1990. IEEE Standard Glossary of Software Engineering Terminology, IEEE Std 610.12-1990 defines robustness as 'The degree to which a system or component can function correctly in the presence of invalid inputs or stressful environmental conditions'
- ^'doi:10.1016/j.strusafe.2006.11.004'(PDF). Stanford.edu. Retrieved 2016-11-13.
- ^ abcdefgGerald Jay Sussman (January 13, 2007). 'Building Robust Systems an essay'(PDF). Groups.csail.mit.edu. Retrieved 2016-11-13.
- ^Joseph, Joby (2009-09-21). 'Importance of Making Generalized Testcases - Software Testing Club - An Online Software Testing Community'. Software Testing Club. Retrieved 2016-11-13.
- ^Agents on the wEb : Robust Software. 'Building Robust Systems an essay'(PDF). Cse.sc.edu. Retrieved 2016-11-13.
- ^ abcdef'Robust Programming'. Nob.cs.ucdavis.edu. Retrieved 2016-11-13.
- ^El Sayed Mahmoud. 'What is the definition of the robustness of a machine learning algorithm?'. ResearchGate. Retrieved 2016-11-13.
- ^'Robust Network Design'(PDF). Math.mit.edu. Retrieved 2016-11-13.
- ^Carbin, Michael; Rinard, Martin C. (12 July 2010). 'Automatically identifying critical input regions and code in applications'(PDF). ACM: 37–48. doi:10.1145/1831708.1831713.Cite journal requires
|journal=
(help) - ^ abDanglot, Benjamin; Preux, Philippe; Baudry, Benoit; Monperrus, Martin (21 December 2017). 'Correctness attraction: a study of stability of software behavior under runtime perturbation'. Empirical Software Engineering. 23 (4): 2086–2119. arXiv:1611.09187. doi:10.1007/s10664-017-9571-8.