progrium / pubsubhubbub-testsuite Goto Github PK
View Code? Open in Web Editor NEWHub validation of the PubSubHubbub spec
Home Page: http://code.google.com/p/pubsubhubbub/wiki/HubTestSuite
Hub validation of the PubSubHubbub spec
Home Page: http://code.google.com/p/pubsubhubbub/wiki/HubTestSuite
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
The tests fail when using rspec2. It wasn't immediately obvious to me that the gem version was the problem, maybe a note in the README would be worthwhile?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.