Given a java web application
And that it has a restful back-end
And serves a single page html/js front-end
When I use cucumber to test my application
Then which layer should I drive my tests through?
可能的选项:
1)域层: StepsDefs直接委托给服务和存储库
2) REST层:将StepsDefs委托给REST客户端,在容器部署的应用程序上发出HTTP请求
3)用户界面: StepsDef