Black-box testing checks an application through its visible interface without relying on its internals. In a GUI, a test can find a component by name and type, send it an event, and inspect its state. section 11.3.4
Testing a GUI component
A test might click a button and check whether it is enabled, or ask a text field for its current value. This keeps the test outside the application’s internals, but can make tests harder to implement when they need access beyond the UI. section 11.3.4
Acceptance tests can range from going through the UI to exercising application internals directly. UI-only access can be limiting, especially when tests need to run throughout development or check behavior that the interface cannot expose. Hooks can provide access to UI components, application logic, and state. section 11.3.4 section 11.5






