This repository contains a set of smoke tests used to validate Gitorious builds.
-
Install poltergeist
-
Install dependencies
bundle install
-
Start Gitorious instance (
https://gitorious.local
) -
Create an user (
test
/test123
)
-
Manually
-
Or with
GTS\_USER="test" GTS\_PASS="test123" bin/create-user [email protected]
- Run the specs
GTS\_HOST="https://gitorious.local" GTS\_USER=test GTS\_PASS=test123 bundle exec rspec
You need to create first user manually, because public registration is not enabled by default.
It is safe to run the tests against the same user multiple times, as new keys are generated on each run.
-
GTS_HOST:
http://vagrant
-
GTS_USER:
test
-
GTS_PASS:
testest