nus-cs2103-AY2021S1 / forum

20 stars 2 forks source link

Mock exam q14 #493

Closed GeNiaaz closed 3 years ago

GeNiaaz commented 3 years ago

Why is systems testing not considered glass box? Is it not done by testers who have access to the code?

image

sudogene commented 3 years ago

System testing tests against the system specification (external behaviors) and it's done by QA team. These people may or may not know the inner code/implementation, so you can argue it's black/gray/glass box.

The way better answer is unit testing which tests the individual methods and classes. This is definitely glass box.

GeNiaaz commented 3 years ago

Ohhhh I see, thanks a lot @sudogene

damithc commented 3 years ago

System testing tests against the system specification (external behaviors) and it's done by QA team. These people may or may not know the inner code/implementation, so you can argue it's black/gray/glass box.

The way better answer is unit testing which tests the individual methods and classes. This is definitely glass box.

That's correct. Thanks @sudogene 👍