Tuesday, October 11, 2016

Black-Box, Grey-Box, White-Box (Week 2)



10/11/2016

Three important concepts in software testing: black-box, grey-box and white box and manual tests methods.

When tester doesn't have access to the code and the code is executable this type of testing is called black-box testing. Here is a manual test method example, when we install an application into a device then we create the test case based on requirement and then execute the test in order to verify the expected required output.
When a tester has access to a partial source of code is called gray-box testing . An example of manual gray-box testing : When a tester manually input all parameters into SDK's API and then manually check the output for the expected required results.
When a tester has full access to all the source code is called white-box testing. An example of manual white-box testing : When a tester checks the compiler  error warning or use static code analysis tool , check for null dereference, context leak, and resource leak.
All the examples that I provided above can be part of our future career and are very important to know the difference between the Black-box, grey-box, and white-box.

Source
https://www.utest.com/articles/examples-of-black-box-grey-box-and-white-box-testing

No comments:

Post a Comment