Skip to content

It validate everything. From rest call to dbvalidation to system commands to unit tests. Just almost everything.

License

Notifications You must be signed in to change notification settings

codeofnode/allrounder

Repository files navigation

allrounder

It validate everything. From rest call to dbvalidation to system commands to unit tests. Just almost everything.

Why Allrounder ?

Act as simple REST Client

Just defined the request, with all entries eg url, method, body, headers then after execution, debug the response.

You can pipe the sesion from one execution to another

Yes, can pipe the sessions. So that you can pass the session variables to another execution.

allrounder -p pipeFile.json myfile.json

Re-usable components

You can re-use a component (set of test cases) in a number of test suites. So you don't have to write same test case everywhere. Plus when its to modify, its a single place change.

Can use variables also for objects and at any depth

It uses templist engine to resolve the variables at run time.

Extractors

You can chain a set of variables from one test case to another and even on other test suite

Assertions

You can setup the various assertions with easy to use jsonpath syntax, as all the results are always available as json format.

Purely data driven

As you provide json file for your test cases and all sort of configurations, allrounder supports purely data driven approach.

Remote json

You can fetch the json file from remote server as well.

allrounder -f http://myrestserver.com/allrounder-test-file.json

Looping

You can loop through a set of array or number for single or batch of test cases

Act as curl for windows users and also as a "simplified" curl

Execute a request right on command line, with the simplest format

allrounder -e [method] https://myrestcallurl?withquery=parametersifany [<JSON-stringified-headers-or-jsonfilepath>] [<JSON-stringified-paylaod-or-jsonfilepath>]

Can do database validation