Testes
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Os operadores de transporte público (PTOs, na sigla em inglês) e seus integradores de sistemas (emissores) precisam
conclua os seguintes casos de teste para uma implementação do Motics em
Carteira do Google antes do lançamento.
Casos de teste gerais
Preencha e verifique todo o QR code de transporte público da API Google Wallet necessário. Pré-lançamento
para testes.
Casos de teste específicos da Motics
Além dos casos de teste gerais, conclua as seguintes etapas específicas do Motics
casos de teste antes de lançar a integração.
Teste |
Resultado esperado |
Observe o código de barras do app Motics na Carteira do Google. |
O código de barras do Motics é girado dinamicamente em intervalos de alguns segundos. |
Inspecione ou valide o código de barras Motics mostrado na Carteira do Google usando um validador ou dispositivo de inspeção. |
O código de barras foi lido com sucesso e o ingresso é considerado válido. |
Salve um bilhete de código de barras da Motics na Carteira do Google pelo menos quatro dias antes da data de início da validade. |
Nenhum código de barras será mostrado até a data e a hora de início da validade do bilhete. |
Salvar um bilhete com código de barras da Motics na Carteira do Google em um dispositivo e tentar salvar o mesmo bilhete em um segundo dispositivo. |
O fluxo de salvamento falha no segundo dispositivo. |
Remova da Carteira do Google um ingresso da Motics que já foi salvo. |
O ingresso é removido da Carteira do Google e pode ser salvo novamente em outro dispositivo. |
Desvincule um tíquete da Motics já salvo usando a loja on-line do emissor. |
O ingresso é removido do dispositivo inicial (se estiver on-line) e pode ser salvo novamente em outro dispositivo. |
Tentar remover & salve um ingresso várias vezes. |
Não é possível salvar o tíquete depois que o limite de ativação definido pelo emissor é excedido. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-08-29 UTC.
[null,null,["Última atualização 2025-08-29 UTC."],[[["\u003cp\u003ePublic Transit Operators and system integrators must complete general Google Wallet API Transit QR code pre-launch testing and Motics-specific test cases before launch.\u003c/p\u003e\n"],["\u003cp\u003eMotics barcodes in Google Wallet dynamically rotate for security, and are verifiable using standard inspection devices.\u003c/p\u003e\n"],["\u003cp\u003eMotics tickets saved to Google Wallet before their validity period will only display the barcode at the designated start date and time.\u003c/p\u003e\n"],["\u003cp\u003eEach Motics ticket can only be saved to one device at a time, ensuring single-device usage, and can be removed and re-saved on a different device if needed through the app or the issuer's website.\u003c/p\u003e\n"],["\u003cp\u003eIssuers can define activation limits to prevent unlimited removal and re-saving of Motics tickets, enhancing security.\u003c/p\u003e\n"]]],["PTOs and system integrators must complete specific test cases for Motics implementation in Google Wallet. This includes verifying the dynamic rotation and scannability of the Motics barcode. They must also confirm that tickets saved before their start date aren't shown, and that saving the same ticket on multiple devices is blocked. Tickets should be removable and resavable, except when activation limits are met. Additionally, general Google Wallet API Transit QR code pre-launch testing must be completed.\n"],null,["# Testing\n\nPublic Transit Operators (PTOs) and their system integrators (issuers) need to\ncomplete the following test cases for a Motics implementation in\nGoogle Wallet prior to launch.\n\nGeneral test cases\n------------------\n\nComplete and verify all the required Google Wallet API Transit QR code [Pre-launch\ntesting](/wallet/tickets/transit-passes/qr-code/test-and-go-live/prelaunch-testing).\n\nMotics specific test cases\n--------------------------\n\nIn addition to the General test cases, complete the following Motics specific\ntest cases prior to launching the integration.\n\n| Test | Expected result |\n|----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| Observe the Motics barcode in Google Wallet. | The Motics barcode dynamically rotates every few seconds. |\n| Inspect or validate the Motics barcode shown in Google Wallet using a validator or inspection device. | The barcode is successfully scanned and the ticket is considered valid. |\n| Save a Motics barcode ticket to Google Wallet at least 4 days before the validity start date. | No barcode is shown until the ticket validity start date and time. |\n| Save a Motics barcode ticket to Google Wallet on one device and then try to save the same ticket on a second device. | The save flow fails on the second device. |\n| Remove an already saved Motics ticket from Google Wallet. | The ticket is removed from Google Wallet and the same ticket can be successfully re-saved on another device. |\n| Unlink an already saved Motics ticket using the issuer webshop. | The ticket is removed from the initial device (if online) and the same ticket can be successfully re-saved on another device. |\n| Attempt to remove \\& re-save a ticket several times. | The ticket can't be saved once the issuer defined activation limit has been exceeded. |"]]