Negative Testing
Testing aimed at showing software does not work. Also known as "test to fail".
Negative Testing = (Showing error when not supposed to) + (Not showing error when supposed to)
Negative testing is that testing which attempts to show that the module does something that it is not supposed to do. In the case of the power-down test case, we are also not negative testing by this definition because the application, in not saving the document or doing anything (since it was not designed to do anything in the first place), is not doing something that it is not supposed to do. Again, the application is not "supposed" to do anything since it was not designed to do anything in this situation.
Positive Testing
Testing aimed at showing software works. Also known as "test to pass".
Positive testing is that testing which attempts to show that a given module of an application does not do what it is supposed to do.
In this case of the power-down test case, we are not positive testing because we did not test that the application did not do what it was supposed to do. The application was not "supposed" to do anything because nothing was designed to handle the power-down.
Positive Testing = (Not showing error when not supposed to) + (Showing error when supposed to)
Positive testing is that testing which attempts to show that a given module of an application does NOT do what it is supposed to do. Negative testing is that testing which attempts to show that the module does something that it is not supposed to do.
Testing aimed at showing software does not work. Also known as "test to fail".
Negative Testing = (Showing error when not supposed to) + (Not showing error when supposed to)
Negative testing is that testing which attempts to show that the module does something that it is not supposed to do. In the case of the power-down test case, we are also not negative testing by this definition because the application, in not saving the document or doing anything (since it was not designed to do anything in the first place), is not doing something that it is not supposed to do. Again, the application is not "supposed" to do anything since it was not designed to do anything in this situation.
Positive Testing
Testing aimed at showing software works. Also known as "test to pass".
Positive testing is that testing which attempts to show that a given module of an application does not do what it is supposed to do.
In this case of the power-down test case, we are not positive testing because we did not test that the application did not do what it was supposed to do. The application was not "supposed" to do anything because nothing was designed to handle the power-down.
Positive Testing = (Not showing error when not supposed to) + (Showing error when supposed to)
Positive testing is that testing which attempts to show that a given module of an application does NOT do what it is supposed to do. Negative testing is that testing which attempts to show that the module does something that it is not supposed to do.