Article
A web application often needs to communicate with web servers to get various resources. You might need to fetch data from or post data to an external web server or API. Using client-side JavaScript, this can be achieved using the fetch API and the window.fetch() function. In NodeJS, several...
Aniuchi Adaobi
As Python developers, most of us are familiar with Virtual Environments. One of the first things we do when working on a new project is to create an environment. We commonly use virtualenv or venv exactly for that purpose. Each project we work on uses different packages and may even...
Leandro Cofre
When you want to run a project that has multiple sources, resources, etc., you need to make sure that all of the code is recompiled before the main program is compiled or run. For example, imagine our software looks something like this: main_program.source -> uses the libraries...
Vladimir Batoćanin
As microservices and distributed applications quickly take over the development world - data integrity and security are more important than ever. A secure communication channel and limited data transfer between these loosely coupled systems are paramount. Most of the time, the end-user or service doesn't need to access the entirety...
Taimoor Choudhary
Test "mocks" are objects that replace real objects while simulating their functions. A mock also has expectations about how the functions being tested will be used. In some unit test cases we may want to combine the functionality of spies, to observe a method's behavior under call, and...
Allan Mogusu
In software testing, a "spy" records how a function is used when it is tested. This includes how many times it was called, whether it was called with the correct arguments, and what was returned. While tests are primarily used to validate the output of a function, sometimes...
Unless you have been hiding under a rock, you have probably used Google Translate on many occasions in your life. Whenever you try to translate a word or a sentence from a certain language to another, it is the Google Translate API which brings you the desired results in the...
Guest Contributor
Servers are computer software or hardware that processes requests and delivers data to a client over a network. Various types of servers exist, with the most common ones being web servers, database servers, application servers, and transaction servers. Widely used web servers such as Apache, Monkey, and Jigsaw are quite...
Testing an application means more than just clicking around until something breaks or trying different inputs until something isn't working right. While this is a good way to find anything that might break on the user facing side of the application, due to misuse - what is being neglected is...
Aleksandar Bursac
© 2013-2024 Stack Abuse. All rights reserved.