Class: USPS::Test

Inherits:
Test::Unit::TestCase
  • Object
show all
Includes:
AddressVerification, CityAndStateLookup, TrackingLookup, ZipCodeLookup
Defined in:
lib/usps/test.rb,
lib/usps/test/tracking_lookup.rb,
lib/usps/test/zip_code_lookup.rb,
lib/usps/test/address_verification.rb,
lib/usps/test/city_and_state_lookup.rb,
lib/usps/test/delivery_confirmation.rb

Overview

This class is a test runner for the various test requests that are outlined in the USPS API documentation. These tests are often used to determine if a developer is allowed to gain access to the production systems.

Running this test suite should fullfil all requirements for access to the production system for the APIs supported by the library.

Defined Under Namespace

Modules: AddressVerification, CityAndStateLookup, DeliveryConfirmation, TrackingLookup, ZipCodeLookup

Method Summary

Methods included from TrackingLookup

#test_tracking_lookup_1, #test_tracking_lookup_2

Methods included from AddressVerification

#test_address_standardization_1, #test_address_standardization_2

Methods included from CityAndStateLookup

#test_city_and_state_lookup_1, #test_city_and_state_lookup_2

Methods included from ZipCodeLookup

#test_zip_code_lookup_1, #test_zip_code_lookup_2