Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • In the unit tests you will write automation code (Selenium) that will make your browser act on the behavior specified in the scenario. I come from the python world, and AFAIK writing selenium test means integration testing, not unit testing. Commented Sep 21, 2012 at 8:39
  • @whatf - updated the answer, thanks for the heads up. Commented Sep 21, 2012 at 8:51
  • so then where will you write, unit tests? Commented Sep 21, 2012 at 10:20
  • Well, you see the interface as an integration of components, therefore the automation code that you write in the test methods generated by Cucumber will constitute integration tests. The unit tests will be done for the components that make the rendering of the interface possible. On the other hand, I see the interface as a collection of behaviors (units), therefore I see the automation code that I write as an unit test. Commented Sep 21, 2012 at 10:46