Canapé, a CMS built as a CouchApp.
Ruby CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
features
shows
templates
vendor
.autotest
.couchappignore
.couchapprc.sample
.gitignore
.rvmrc
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
language
rewrites.json

README.md

cucumber scaffold for testing couchapps

What it is

Couchapps are a great way to write web applications served directly by CouchDB. Cucumber is a great way to test web applications in BDD manner. Naturally these two belong together.

What it does

Couchapps are tested with cucumber and selenium. Before each scenario, the CouchDB authentication_db is changed so that the default _users db is not touched by the tests. The names and logins are customizable in features/support/database.yml.

Contribute

If you want to contribute:

  • Fork the project.
  • Make your feature addition or bug fix.
  • Commit
  • Send me a pull request. Bonus points for topic branches

Thanks

Alex Lang and Lena Herrmann for writing about testing couchapp/CouchDB, which was a lot of help.