Buscar pacotes, repositórios e categorias de apps

Detalhes do pacotev0.2.0

page_object

Um pacote Flutter para ajudar na implementação do padrão Page Object em um aplicativo Flutter.

Downloads em 30 dias
18
Curtidas
9
Pontos Pub
60

Instalar pacote

flutter pub add page_object

Visão geral do pacote

Orientação gerada a partir de informações públicas. Apenas para referência.

O pacote page_object é uma ferramenta do Flutter projetada para apoiar o padrão Page Object, uma abordagem de design que promove código de teste reutilizável e sustentável. Ele permite que os desenvolvedores modelam telas da interface como classes, encapsulando interações e asserções específicas para páginas. Isso melhora a legibilidade dos testes, reduz a duplicação de código e simplifica a manutenção em testes automatizados. O pacote se integra bem com o ecossistema de testes do Flutter e é particularmente útil em cenários de testes de ponta a ponta e de widgets.

Casos de uso

  • Testes de interface do usuário automatizados em aplicativos Flutter
  • Criando componentes de teste reutilizáveis para telas
  • Melhorando a manutenibilidade do teste
  • Implementação de arquitetura de teste estruturada
  • Reduzindo a duplicação em scripts de teste

Principais recursos

  • Encapsula interações de UI por tela
  • Suporta separação clara da lógica de teste e detalhes da interface
  • Promove a reutilização entre arquivos de teste
  • Integra-se com o framework de teste do Flutter
  • Fornece uma abordagem estruturada para o desenvolvimento de testes

Indicado para

  • Engenheiros de teste usando Flutter
  • Equipes praticando desenvolvimento guiado por testes
  • Projetos que exigem suites de testes escaláveis
  • Desenvolvedores escrevendo testes de ponta a ponta ou de widget
  • Equipes que adotam padrões de design em testes

Considerações

  • Requer entendimento do padrão Page Object
  • Pode adicionar sobrecarga para testes muito simples
  • Mais adequado para suites de testes maiores
  • Não necessário para testes manuais básicos
  • Depende da estrutura de classe correta no código de teste

README original

Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.

Flutter Glove Box

This repo is no longer maintained

09/12/2024 Update:

Unfortunately we have made the tough decision to no longer actively maintain this repository. While the package has served us and the community well, we don't have the capacity to give it the attention it deserves.

We realize that this decision means that open pull requests will not be merged. Our hope is that the community will rally and focus their efforts around more actively maintained packages for aiding in golden-based tests.

Once again, we want to thank each and every one of you for your contributions over the years.

Thank you for your understanding.

Best regards,

The eBay Motors App team


Contains various testing tools that eBay Motors App team is using in their development on daily basis.

License Information

Copyright 2019-2023 eBay Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of eBay Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Categorias

Repositório-fonte

Projetos que usam este pacote

Ainda não há dados.