Hi, I'm new here..
I'm writing a daemon (a node.js based webserver that handles various 
PUT/GET requests and deals with files in an openstack swift cluster), and I 
would like to properly test that it works fine (read: try to break it)

with inputs like:
* non-existing, empty, or various types of incorrect config values in basic 
json config files
* performing http requests programatically (navigate to webpage, click 
button, select this specific file from file selection dialog, click ok, etc)
 (something like https://github.com/brynary/webrat)

and then verify that things behave as they are supposed by:
* finding entries in logfiles
* checking whether $num of processes are (still) running
* checking http response codes of all requests. (including all ajaxy-ones 
in the background)
* arbitrary commands (like downloading a file from a webserver and 
md5summing it)


cucumber comes up often for this kind of topic, but it seems quite verbose 
and too aimed at business people.
a friend pointed me towards rspec but it seems specific to ruby.
can i use rspec for what i want to do? as you can see, nothing about what i 
want to do is node.js/specific, it's more about "black-box" testing my 
daemon
i would appreciate any advice.
thanks,
Dieter

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rspec/-/YZhmsluDTsUJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to