-
Notifications
You must be signed in to change notification settings - Fork 3
Hub validation of the PubSubHubbub spec
progrium/pubsubhubbub-testsuite
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
PubSubHubbub Hub Test Suite --------------------------- This suite is intended to be used for hub compliancy. The test examples came directly from the current 0.1 PubSubHubbub Core working draft. However, not everything can be tested currently. This may change as the spec changes. This requires Ruby, RSpec and Mechanize, the later two can be installed with Ruby Gems using "gem install rspec mechanize". RSpec is a great approach to testing and Ruby allows for nice DSL-like testing. The interface is HTTP, so it's language independent. When you use this test suite, make sure that the HOST and SUB_PORT are within reach of the HUB_URL. If you chose a "public" HUB_URL, your HOST and SUB_PORT must be "public" too. You can also specify a specific topic url to test a given hub as not all hubs accept all feed urls. Using the Test Suite: $ HUB_URL=<url to hub> [HOST=<subscriber host>] [SUB_PORT=<subscriber port>] [PUB_PORT=<publisher port>] [TOPIC_URL=<feed url>] spec -c hub_*_spec.rb --format specdoc Example: $ HUB_URL=http://localhost:8000 HOST=localhost SUB_PORT=8098 spec -c hub_*_spec.rb --format specdoc
About
Hub validation of the PubSubHubbub spec
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published