CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 21 Aug 2025 02:44:45 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100520114745
location: https://web.archive.org/web/20100520114745/https://github.com/marcoow/rspec-demo
server-timing: captures_list;dur=0.869542, exclusion.robots;dur=0.028405, exclusion.robots.policy;dur=0.012031, esindex;dur=0.015084, cdx.remote;dur=48.933432, LoadShardBlock;dur=221.758034, PetaboxLoader3.datanode;dur=73.057167, PetaboxLoader3.resolve;dur=104.364472
x-app-server: wwwb-app216
x-ts: 302
x-tr: 316
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app216; 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 200
server: nginx
date: Thu, 21 Aug 2025 02:44:46 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Thu, 20 May 2010 11:47:45 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "bc4e6bffcbccd422e593da9af8751c81"
x-archive-orig-x-runtime: 68ms
x-archive-orig-content-length: 27954
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 20 May 2010 11:47:45 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 20 May 2010 11:47:45 GMT", ; rel="memento"; datetime="Thu, 20 May 2010 11:47:45 GMT", ; rel="next memento"; datetime="Wed, 26 May 2010 16:18:44 GMT", ; rel="last memento"; datetime="Wed, 23 Dec 2020 04:59:37 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_15_20100520112842_crawl100-c/52_15_20100520114657_crawl101.arc.gz
server-timing: captures_list;dur=0.864038, exclusion.robots;dur=0.031503, exclusion.robots.policy;dur=0.012720, esindex;dur=0.016619, cdx.remote;dur=36.939003, LoadShardBlock;dur=100.354571, PetaboxLoader3.datanode;dur=80.688683, PetaboxLoader3.resolve;dur=117.079528, load_resource;dur=119.593875
x-app-server: wwwb-app216
x-ts: 200
x-tr: 325
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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
marcoow's rspec-demo at master - GitHub
marcoow / rspec-demo
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
README.markdown
RSpec demo application
See test
, spec
and features
directories for samples and comparison of Test::Unit, RSpec and Cucumber.
The application itself is pretty trivial and only has a Task
model with a title
and a finished
flag. The controller allows to view, add and finish tasks. Deletion and editing of tasks is not implemented.
Relevant rake tasks
Test::Unit
Run unit tests:
rake test:units
Run functional tests:
rake test:functionals
Run integration tests:
rake test:integration
Run all of the above:
rake test
Autotest:
autotest
RSpec
Run model specs:
rake spec:models
Run controller specs:
rake spec:controllers
Run view specs:
rake spec:views
Run all of the above:
rake spec
Run code coverage analysis on specs:
rake spec:rcov
Autospec:
./script/autospec
Autospec with Cucumber features:
AUTOFEATURE=true ./script/autospec
Cucumber
Run features:
rake features
What you need
sudo gem install rspec
sudo gem install rspec-rails
sudo gem install cucumber
sudo gem install webrat
sudo gem install rcov
Author
Copyright (c) 2008 Marco Otte-Witte (https://simplabs.com), released under the MIT license