CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 15 Aug 2025 11:17:38 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090222195404
location: https://web.archive.org/web/20090222195404/https://github.com/rails/javascript_test/tree
server-timing: captures_list;dur=0.931467, exclusion.robots;dur=0.038044, exclusion.robots.policy;dur=0.024091, esindex;dur=0.014149, cdx.remote;dur=33.549533, LoadShardBlock;dur=290.546088, PetaboxLoader3.datanode;dur=56.794265, PetaboxLoader3.resolve;dur=47.985588
x-app-server: wwwb-app202
x-ts: 302
x-tr: 388
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app202; 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, 15 Aug 2025 11:17:39 GMT
content-type: text/html; charset=utf-8
content-length: 117
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sun, 22 Feb 2009 19:54:03 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090222195404/https://github.com/rails/javascript_test/tree/master
x-archive-orig-x-runtime: 223ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 117
cache-control: max-age=1800
memento-datetime: Sun, 22 Feb 2009 19:54:04 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 11 Oct 2008 13:02:29 GMT", ; rel="prev memento"; datetime="Thu, 18 Dec 2008 01:27:14 GMT", ; rel="memento"; datetime="Sun, 22 Feb 2009 19:54:04 GMT", ; rel="next memento"; datetime="Sun, 21 Jun 2009 09:25:12 GMT", ; rel="last memento"; datetime="Fri, 18 Sep 2009 22:35:30 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_20090222181749_crawl102-c/52_8_20090222195239_crawl101.arc.gz
server-timing: captures_list;dur=1.442038, exclusion.robots;dur=0.023026, exclusion.robots.policy;dur=0.013816, esindex;dur=0.009511, cdx.remote;dur=48.350647, LoadShardBlock;dur=146.974561, PetaboxLoader3.datanode;dur=171.438840, PetaboxLoader3.resolve;dur=190.991150, load_resource;dur=260.416823
x-app-server: wwwb-app202
x-ts: 301
x-tr: 485
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, 15 Aug 2025 11:17:40 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sun, 22 Feb 2009 19:54:04 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 681ms
x-archive-orig-etag: "ff8c029a4a2a9d6a48648c5a845ce5f7"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 20984
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 22 Feb 2009 19:54:04 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 18 Dec 2008 01:27:14 GMT", ; rel="prev memento"; datetime="Sat, 20 Dec 2008 01:03:19 GMT", ; rel="memento"; datetime="Sun, 22 Feb 2009 19:54:04 GMT", ; rel="next memento"; datetime="Fri, 19 Jun 2009 09:15:01 GMT", ; rel="last memento"; datetime="Sun, 21 Jun 2009 09:25:12 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_20090222181749_crawl102-c/52_8_20090222195239_crawl101.arc.gz
server-timing: captures_list;dur=0.597845, exclusion.robots;dur=0.026744, exclusion.robots.policy;dur=0.016060, esindex;dur=0.012763, cdx.remote;dur=4.839716, LoadShardBlock;dur=426.910384, PetaboxLoader3.resolve;dur=333.078354, PetaboxLoader3.datanode;dur=224.359872, load_resource;dur=139.784345
x-app-server: wwwb-app202
x-ts: 200
x-tr: 638
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
rails's javascript_test 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: | JavaScript testing plugin |
Homepage: | https://rubyonrails.org |
Clone URL: |
git://github.com/rails/javascript_test.git
Give this clone URL to anyone.
git clone git://github.com/rails/javascript_test.git
|
name | age | message | |
---|---|---|---|
![]() |
CHANGELOG | Wed Jan 09 09:05:29 -0800 2008 | javascript_test: update prototype/unittest.js t... [madrobby] |
![]() |
README | Wed Jan 09 10:44:13 -0800 2008 | javascript_test: fix CSS, add empty js file tem... [madrobby] |
![]() |
assets/ | Wed Jan 09 10:44:13 -0800 2008 | javascript_test: fix CSS, add empty js file tem... [madrobby] |
![]() |
generators/ | Wed Jan 09 10:44:13 -0800 2008 | javascript_test: fix CSS, add empty js file tem... [madrobby] |
![]() |
init.rb | Thu Sep 07 03:38:28 -0700 2006 | Initial import of JavaScript testing plugin, ne... [madrobby] |
![]() |
lib/ | Mon Sep 18 03:33:32 -0700 2006 | Add JavaScriptTest namespace wrapper [madrobby] |
![]() |
tasks/ | Mon Sep 18 03:33:32 -0700 2006 | Add JavaScriptTest namespace wrapper [madrobby] |
![]() |
test/ | Mon Sep 18 03:53:22 -0700 2006 | javascript_test plugin: seperate success/failur... [madrobby] |
=JavaScript testing plugin This plugin provides the script.aculo.us JavaScript unit testing framework in a way that integrates with Rails applications. ==Usage Use the provided generator to built a skeleton for your JavaScript test. The built-in rake task can then be used to automatically run the unit tests in various installed browsers (supported are Firefox on IE/Mac/Linux, Safari on Mac, Konqueror on Linux). Note that due to the built-in webrick, you don't have to change anything about your app, just add tests. :) ==Example Generate a JavaScript test skeleton for your public/javascripts/foo.js file: script/generate javascript_test foo Run the unit tests (an "assertTruth" dummy test is provided, so you should see "SUCCESS" messages), and see the automagically controlled browsers in action: rake test:javascripts You have to manually close the browser window(s) afterwards. You can also run the test manually, by symlinking the assets directory. In your Rails application root, run: ln -s ../../vendor/plugins/javascript_test/assets/ test/javascript/assets You then can just open the individual .html test files in your browser. All in all, unittest.js is closely modelled on Test::Unit. You can find lots of examples in both the Prototype and script.aculo.us SVN repositories. You'll find more info on how to write tests on the script.aculo.us wiki: https://wiki.script.aculo.us/scriptaculous/show/UnitTesting. The documentation there is not really complete, so feel free to help out. ==Questions? Join the Rails Spinoffs Google Group, or ask on #prototype on irc.freenode.net. ==Credits Big thanks with sugar on the top to Jon Tirsen, who authored the automated browser remote control-gadgetry. ==TODO * Some more docs and a presentation :) * Make ^C aborting work == License Copyright (c) 2005-2008 Thomas Fuchs, released under the MIT license
This feature is coming soon. Sit tight!