I m writing tests that check that an external service is providing inventory data (on their test server) that I can check out with, and also cancel. This testing is in the travel/hotel world, and I need to place test reservations, then cancel them.
I take the following steps : 1) search for inventory(a hotel room) 90 days in the future 2) get the first result, and do a test checkout with it 3) cancel the order and confirm I get a cancellation number 4) confirm the appropriate database entries are performed
This testing touches wide ranging parts of the system, and I don t (currently) have mechanisms to isolate each of them. I therefore don t consider this unit testing. However, would this be called functional testing, or something else?
As a follow up, it will probably help to isolate and write tests for each of the subsystems I m interacting with. Where would you guys start in the isolation process?