In the previous article we saw how to test GET transactions in our API. There's still a lot to cover so in this article we are going to be covering how to test POST operations; in other words how to test create. Perhaps it is time we start POSTing stuff to our app. Testing POST Picking from the work we've already laid on the previous arti…Fernando De Vega
Welcome to my blog! This is the english version. Here I write about software development, technology and all kinds of stuff. Thanks for visiting!
In the previous article we saw a boilerplate setup for functional testing a SailsJS API. In this article, we are going to use that boilerplate to start testing our app. Time to GET dirty and start testing. Testing GET transactions Now that we've setup our test environment, we can proceed and start writing our functional tests for the API.…Fernando De Vega
SailsJS is a popular MVC framework for NodeJS. It is widely used due to its ease of use. However, the official Sails documentation on testing is pretty basic and ambiguous, so a lot of people is left to wonder how to properly test a Sails app. Learn how to functionally test your SailsJS API using Wolfpack and Supertest. In this first part…Fernando De Vega