CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 22 Aug 2025 10:06:21 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090329084623
location: https://web.archive.org/web/20090329084623/https://github.com/aslakhellesoy/cucumber_java/tree/
server-timing: captures_list;dur=0.797024, exclusion.robots;dur=0.025479, exclusion.robots.policy;dur=0.011515, esindex;dur=0.014173, cdx.remote;dur=51.918717, LoadShardBlock;dur=537.101528, PetaboxLoader3.datanode;dur=111.333588, PetaboxLoader3.resolve;dur=163.198672
x-app-server: wwwb-app222
x-ts: 302
x-tr: 635
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app222; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Fri, 22 Aug 2025 10:06:22 GMT
content-type: text/html; charset=utf-8
content-length: 123
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sun, 29 Mar 2009 08:46:23 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090329084623/https://github.com/aslakhellesoy/cucumber_java/tree/master
x-archive-orig-x-runtime: 6ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 123
cache-control: max-age=1800
memento-datetime: Sun, 29 Mar 2009 08:46:23 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 29 Mar 2009 08:46:18 GMT", ; rel="prev memento"; datetime="Sun, 29 Mar 2009 08:46:18 GMT", ; rel="memento"; datetime="Sun, 29 Mar 2009 08:46:23 GMT", ; rel="last memento"; datetime="Sun, 29 Mar 2009 08:46:23 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_8_20090329075436_crawl103-c/52_8_20090329084620_crawl101.arc.gz
server-timing: captures_list;dur=0.774700, exclusion.robots;dur=0.029631, exclusion.robots.policy;dur=0.014484, esindex;dur=0.019753, cdx.remote;dur=8.918770, LoadShardBlock;dur=619.945653, PetaboxLoader3.datanode;dur=577.387085, PetaboxLoader3.resolve;dur=201.762797, load_resource;dur=178.843470
x-app-server: wwwb-app222
x-ts: 301
x-tr: 844
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 302
server: nginx
date: Fri, 22 Aug 2025 10:06:23 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090328113750
location: https://web.archive.org/web/20090328113750/https://github.com/aslakhellesoy/cucumber_java/tree/master
server-timing: captures_list;dur=0.706548, exclusion.robots;dur=0.028860, exclusion.robots.policy;dur=0.013439, esindex;dur=0.013318, cdx.remote;dur=15.896142, LoadShardBlock;dur=237.090424, PetaboxLoader3.datanode;dur=134.437896, PetaboxLoader3.resolve;dur=65.737119
x-app-server: wwwb-app222
x-ts: 302
x-tr: 283
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 22 Aug 2025 10:06:23 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sat, 28 Mar 2009 11:37:50 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 248ms
x-archive-orig-etag: "2fad09a7eb95e93a3da4ea7c8c31d025"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 24992
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 28 Mar 2009 11:37:50 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 28 Mar 2009 11:37:50 GMT", ; rel="memento"; datetime="Sat, 28 Mar 2009 11:37:50 GMT", ; rel="next memento"; datetime="Wed, 06 May 2009 08:54:07 GMT", ; rel="last memento"; datetime="Sun, 14 Apr 2019 11:14:04 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_8_20090328102842_crawl102-c/51_8_20090328113748_crawl101.arc.gz
server-timing: captures_list;dur=0.730148, exclusion.robots;dur=0.032207, exclusion.robots.policy;dur=0.013683, esindex;dur=0.017762, cdx.remote;dur=12.346124, LoadShardBlock;dur=336.914821, PetaboxLoader3.datanode;dur=139.230033, PetaboxLoader3.resolve;dur=145.847492, load_resource;dur=165.616296
x-app-server: wwwb-app222
x-ts: 200
x-tr: 575
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
aslakhellesoy's cucumber_java at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | Cucumber packaged in a Jar file with pure Java support. |
Homepage: | https://cukes.info |
Clone URL: |
git://github.com/aslakhellesoy/cucumber_java.git
Give this clone URL to anyone.
git clone git://github.com/aslakhellesoy/cucumber_java.git
|
Have a Cuke, Duke
Cucumber runs on Java! This gem lets you write Cucumber steps in pure Java. Example:
package simple; import java.util.Map; import java.util.HashMap; import cucumber.*; import static org.junit.Assert.assertEquals; public class StuffSteps { private final Map<String,String> cukes = new HashMap<String,String>(); @Given("I have (\\d+) (.*) cukes") public void iHaveNCukes(String n, String color) { this.cukes.put(color, n); } @When("I add a table") public void iAddATable(Table table) { Map<String,String> hash = table.hashes().get(0); assertEquals("1", hash.get("a")); assertEquals("2", hash.get("b")); } @Then("I should have (\\d+) (.*) cukes") public void iShouldHaveNCukes(String n, String color) { if(!n.equals(cukes.get(color))) { throw new RuntimeException("Expected " + n + ", got " + cukes.get(color)); } } public void thisIsNotAStep() {} }
Check out the examples for more details.
Building the cucumber-java gem
This is for hackers. If you just want to use Cucumber with Java, head straight to
the examples.
Install Maven
You can grab it here
Install JRuby
You can grab it here
Make sure you get 1.2.0 or later.
Install Hoe
This gem is needed to build the Cucumber Java gem
jruby -S gem install hoe --no-rdoc --no-ri
Build and install the gem
jruby -S rake gem jruby -S gem install pkg/cucumber-java --no-rdoc --no-ri
Now head to the simple example and run it. It serves well as a testbed.
This feature is coming soon. Sit tight!