This is the Linux app named SuperTest whose latest release can be downloaded as v6.1.6.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named SuperTest with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
A super-agent driven library for testing node.js HTTP servers using a fluent API. The motivation with this module is to provide a high-level abstraction for testing HTTP, while still allowing you to drop down to the lower-level API provided by superagent. Install SuperTest as an npm module and save it to your package.json file as a development dependency. You may pass an http.Server, or a Function to request(), if the server is not already listening for connections then it is bound to an ephemeral port for you so there is no need to keep track of ports. One thing to note, is that superagent now sends any HTTP error (anything other than a 2XX response code) to the callback as the first argument if you do not add a status code expect (i.e. .expect(302)). Expectations are run in the order of definition. This characteristic can be used to modify the response body or headers before executing an assertion.
- SuperTest works with any test framework
- HTTP assertions made easy via superagent
- Anything you can do with superagent, you can do with supertest
- Passing the app or url each time is not necessary, if you're testing the same host you may simply re-assign the request variable with the initialization app or url
- You may use any superagent methods, including .write(), .pipe() etc and perform assertions in the .end() callback for lower-level needs
- You can test node.js HTTP servers using a fluent API
This is an application that can also be fetched from https://sourceforge.net/projects/supertest.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.