Thomas Sundberg

September 16, 2011

Test drive an implementation using an Executable Specification

This post is available at http://www.thinkcode.se/blog/2011/09/16/test-drive-an-implementation-using-an-executable-specification

Advertisements

7 Comments »

  1. Nice little intro to Cucumber with Java. A few simple tools will do the trick.
    Maybe some readers are not that familiar with Executable specification, and for these a cross reference to an explanation would be nice.

    Comment by Björn Tikkanen (@BjornTikkanen) — October 6, 2011 @ 20:47

  2. it is good example but Im having difficulty to setup on my machine on eclipse ?

    any screen shots provided ?

    Comment by vamshi — December 16, 2012 @ 03:51

    • Hi!

      I have never tried setting it up on Eclipse. There are no screen shoots available. Create the files and the content in them using any tool. If you are on a Windows box, Notepad would be sufficient.

      If you want to use Eclipse to look at the source and alter things, execute Mavens eclipse plugin to build your Eclipse project files. I think you should do

      mvn eclipse:eclipse

      in the root directory.

      HTH
      Thomas

      Comment by Thomas Sundberg — December 16, 2012 @ 12:17

  3. […] Test drive an implementation using an Executable Specification – an earlier post using Cucumber to drive an implementation […]

    Pingback by Testing a web application with Selenium 2 — April 20, 2013 @ 10:46

  4. […] Test drive an implementation using an Executable Specification – an earlier post using Cucumber to drive an implementation […]

    Pingback by Testing a web application with Selenium 2 : Mozaic Works — March 31, 2014 @ 17:16

  5. Hi,
    I downloaded the project from github into Eclipse and when try to run it using the maven plugin, I get the error “[ERROR] Failed to execute goal on project test: Could not resolve dependencies for project se.sigma.cucumber:test:jar:1.0-SNAPSHOT: Failure to find com.smartbear.soapui:soapui:jar:4.6.1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]”
    Please let me know if you have any suggestions.
    Thanks.

    Comment by Meg — September 22, 2014 @ 20:50

    • Hi!

      This project isn’t available on GitHub so I am a bit surprised that you could download it from GitHub. I would suggest that you implement it by hand following the instructions above if it this example you interested in.

      At the same time, I have a feeling that you are mixing something since you seem to be looking for a dependency for connecting to SoapUI. I would consider adding this repo, http://www.soapui.org/repository/maven2/com/smartbear/soapui/soapui-maven-plugin/4.6.1/, to your pom and get the SoapUI artifact from there. If that is what you want.

      Good luck!
      Thomas

      Comment by Thomas Sundberg — September 22, 2014 @ 21:01


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: