Syspec: System Specifications & Tests using a Rake-like batch file
Syspec lets you write a batch file a lot like a Rake file, but in common HTTP-style language, to test the existence and proper functioning of all the domains, subdomains, their pages and responses. This project is still very much in its infancy, but I decided to get it out there to get some feedback while I use it to track production servers. This is a sample Syspecfile:
check :"www.rubyonrails.org" do
accept 200
get "/"
accept 404
get "/syspec"
get "/lacrima"
endThe above will check that http://www.rubyonrails.org/ responds with 200 and http://www.rubyonrails.org/syspec and http://www.rubyonrails.org/lacrima respond with 404. You can have multiple checks with the same domain and it does not have to be a symbol, though I prefer it that way.
Currently, Syspec features the following:
- accept(*codes) – response code should be among these codes
- get, post, delete, put (uses fetch(:request_method, url))
Upcoming features:
- login “username”, “password”
- body matching
- forms
You can grab a copy of it directly from my SVN repository here:
Or download the gem from within the SVN repository (later will be moved to rubyforge):
Enjoy!


Recent comments
1 year 23 weeks ago
1 year 23 weeks ago
1 year 25 weeks ago
1 year 27 weeks ago
1 year 42 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 46 weeks ago
1 year 48 weeks ago