Estimated Time Of Arrival Test Cases
Well, a low-level test case not possible to write based on just one line. But I can try for high-level scenarios which you can use to write a test case.
Assumption: estimated time of arrival for shipment/order But still, you have to design scenarios around Calculation, Like,
- Total time should be an inclusion of estimated time to complete all the mid-phases like shipping, packing, etc.
- Also, we need to take care where one of the phases exceeds the time, total time should get change accordingly.
- If the shipment is not on the track like all or the initial phase itself exceeded the estimated time, it needs to show delay notification.
- There should be some failover strategy to identify if the estimation is exceeded.
- Acknowledgment once shipment arrived.
- Tracking information like in page tracking by fetching real-time updates from courier partners.
- If provided: notification updates like email, SMS, or app notification.
What is ETA?
Before discussing what ETA is, let’s try to know the full form of ETA. ETA stands for the estimated time of arrival.
In our everyday life in most of our time, we are calculating the estimated time of arrival. for example, sometimes we inform our friend like I will be there in 10 minutes. Or I want to start from your house so that you can reach the cinema hall or theatre in time so that you will not miss the previews.
What is the estimated time of arrival formula?
When we are going to calculate the ETA we have to consider three elements the distance speed and time.
- Distance: this is the distance of where we are and where we plan to go. For calculating the distance we have different measurement units.
- Speed: this decides how fast you want to travel from one point to your destination point.
- Time: this is what we need to solve. in every situation, we know the distance and speed.
Estimated Time of Arrival Formula
- Distance = Speed x Time
- Speed = Distance/Time
- Time = Distance/Speed