An abstract UI gives acceptance tests an alternative way to interact with a system without coupling them to concrete, technology-specific widgets. By reaching application or domain logic through this interface, tests can be less vulnerable to changes in the visible UI. section 11.2.2
Tests can reach a system through different channels, depending on its architecture:
- Use the external UI. section 11.2.2
- Use an abstract UI or an internal service-layer API. For a weblog, fixture examples include a remote JNDI lookup and a direct Java API call from the same JVM. section 11.2.2
Figure 11.3. Test operating against an internal API or an abstract UI in addition to or instead of the real UI
Compare the external UI, abstract UI, and internal API as test access channels. section 11.2.2
