![]() Error handling when data is outside of accepted parameters must be considered.There could be bugs rooted in the unit level or backend that wouldn’t be visible via UI testing. Don’t forget negative and positive testing! Ensure you’re covering all of the possible combinations of data.This includes negative and positive testing. Apple’s front end (User Interface) is set up to gather the response and show you the results in a usable manner.įunctionality: The purpose of functional testing is ensuring you can send a request and get back the anticipated response using the requirements the API outlines. The information being requested by Apple Maps would probably be “what types of cars are available”, “how long until a car shows up at the starting point” and, “how much will it cost for each ride option”. Lyft reads it and sends back a response with the information requested. This information might be, “where exactly are you” and “where do you want to go”. To break this down a bit more, when you click on the “Ride” option in Apple Maps, Apple has to send Lyft some information in a request so Lyft knows what information (response) to send back. ![]() Instead of having to go out of the Apple Maps application and into Lyft, Lyft provides an API so Apple Maps can “call” and get the information it needs to show you ride options. If you’re on your iOS device and you want to get a Lyft ride to the destination you’re searching for, you simply need to hit the “Ride” option. Let me share an example using the Apple Maps “Ride” option. The creators of the API will define everything for you, such as what data can you send them (requests) and what data you could get back (response). Said differently, you don’t need to know everything about the system you’re trying to interact with. ![]() Merriam Webster defines API (Application Programming Interface) as “a set of rules that allows programmers to develop software for a particular operating system without having to be completely familiar with that operating system”. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |