Buscar pacotes, repositórios e categorias de apps

Detalhes do pacotev2.3.1

flame_test

Um pacote com classes para ajudar no teste de aplicativos usando o Flame

AndroidiOSmacOSWindowsLinux
Downloads em 30 dias
21,6 mil
Curtidas
7
Pontos Pub
160

Instalar pacote

flutter pub add flame_test

Visão geral do pacote

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

flame_test é um pacote Flutter/Dart projetado para simplificar o teste de aplicativos construídos com o engine de jogos Flame. Ele fornece classes utilitárias e ajudantes que permitem aos desenvolvedores escrever testes unitários e de integração para lógica de jogo, componentes e sistemas. O pacote suporta testes em múltiplas plataformas, incluindo Android, iOS, macOS, Windows e Linux, garantindo comportamento consistente nos ambientes de teste. Com flame_test, os desenvolvedores podem simular loops de jogo, gerenciar operações assíncronas e verificar interações dentro de seus jogos sem exigir um ambiente de tempo de execução completo.

Casos de uso

  • Testando lógica de jogo e transições de estado
  • Verificando o comportamento do componente em isolamento
  • Simulando a execução do loop do jogo
  • Validando física e detecção de colisão
  • Testando o tratamento de entrada e respostas de eventos

Principais recursos

  • Ajuda de teste embutida para componentes Flame
  • Suporte para testes assíncronos com simulação de loop de jogo
  • Compatibilidade de teste multiplataforma
  • Integração com o framework de teste do Dart
  • Mocking do contexto e serviços do jogo

Indicado para

  • Desenvolvedores de jogos Flame
  • Equipes praticando desenvolvimento guiado por testes
  • Projetos que exigem testes de regressão confiáveis
  • Desenvolvedores escrevendo testes unitários para mecânicas de jogo
  • Aqueles que buscam melhorar a qualidade do código por meio de testes automatizados

Considerações

  • Requer familiaridade com conceitos do engine Flame
  • Pode ser necessário configuração adicional para cenários de jogo complexos
  • Limitado a aplicativos baseados em Flame
  • A cobertura de testes depende do design completo dos testes
  • Não adequado para testes de interface do usuário ou renderização visual

README original

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

Flutter favorite

flame

A Flutter-based game engine.


Documentation

The full documentation for Flame can be found on docs.flame-engine.org.

To change the version of the documentation, use the version selector noted with version: in the top of the page.

Note: The documentation that resides in the main branch is newer than the released documentation on the docs website.

Other useful links:

  • The official Flame site.
  • Examples of most features which can be tried out from your browser.
    • To access the code for each example, press the < > button in the top right corner.
  • Tutorials - Some simple tutorials to get started.
  • API Reference - The generated dartdoc API reference.
  • awesome-flame - A curated list of Tutorials, Games, Libraries and Articles.

Help

There is a Flame community on Blue Fire's Discord server where you can ask any of your Flame related questions.

If you are more comfortable with StackOverflow, you can also create a question there. Add the Flame tag, to make sure that anyone following the tag can help out.

Features

The goal of the Flame Engine is to provide a complete set of out-of-the-way solutions for common problems that games developed with Flutter might share.

Some of the key features provided are:

  • A game loop.
  • A component/object system (FCS).
  • Effects and particles.
  • Collision detection.
  • Gesture and input handling.
  • Images, animations, sprites, and sprite sheets.
  • General utilities to make development easier.

On top of those features, you can augment Flame with bridge packages. Through these libraries, you will be able to access bindings to other packages, including custom Flame components and helpers, in order to make integrations seamless.

Flame officially provides bridge libraries to the following packages:

Sponsors

The Flame Engine's top sponsors:

Invertase

Do you or your company want to sponsor Flame? Check out our OpenCollective page, which is also mentioned in the section below, or contact us on Discord.

Support

The simplest way to show us your support is by giving the project a star! :star:

You can also support us monetarily by donating through OpenCollective:

Through GitHub Sponsors:

Or by becoming a patron on Patreon:

You can also show on your repository that your game is made with Flame by using one of the following badges:

Powered by Flame Powered by Flame Powered by Flame

[![Powered by Flame](https://img.shields.io/badge/Powered%20by-%F0%9F%94%A5-272727.svg)](https://flame-engine.org)
[![Powered by Flame](https://img.shields.io/badge/Powered%20by-%F0%9F%94%A5-272727.svg?style=flat-square)](https://flame-engine.org)
[![Powered by Flame](https://img.shields.io/badge/Powered%20by-%F0%9F%94%A5-272727.svg?style=for-the-badge)](https://flame-engine.org)

Contributing

Have you found a bug or have a suggestion of how to enhance Flame? Open an issue and we will take a look at it as soon as possible.

Do you want to contribute with a PR? PRs are always welcome, just make sure to create it from the correct branch (main) and follow the checklist which will appear when you open the PR.

Also, before you start, make sure to read our Contributing Guide.

For bigger changes, or if in doubt, make sure to talk about your contribution to the team. Either via an issue, GitHub discussion, or reach out to the team either using the Discord server.

Credits

  • The Blue Fire team, who are continuously working on maintaining and improving Flame and its ecosystem.
  • All the friendly contributors and people who are helping out in the community.

Categorias

Dependências

Lista de dependências 5 itens

Repositório-fonte

Projetos que usam este pacote