패키지, 저장소 및 앱 카테고리 검색

패키지 상세v2.3.1

flame_test

Flame을 사용하여 애플리케이션 테스트를 도와주는 클래스를 포함한 패키지

AndroidiOSmacOSWindowsLinux
30일 다운로드
2.2만
좋아요
7
Pub 점수
160

패키지 설치

flutter pub add flame_test

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

flame_test는 Flame 게임 엔진을 사용하여 구축된 애플리케이션의 테스트를 간소화하기 위해 설계된 Flutter/Dart 패키지입니다. 이 패키지는 게임 로직, 컴포넌트 및 시스템에 대한 단위 테스트와 통합 테스트를 작성할 수 있도록 유용한 클래스와 도구를 제공합니다. Android, iOS, macOS, Windows, Linux 등 여러 플랫폼에서 테스트를 지원하며, 테스트 환경에서 일관된 동작을 보장합니다. flame_test를 사용하면 개발자는 게임 루프를 시뮬레이션하고 비동기 작업을 관리하며, 완전한 런타임 환경 없이도 게임 내 상호작용을 검증할 수 있습니다.

사용 사례

  • 게임 로직 및 상태 전이 테스트
  • 고립 상태에서 컴포넌트 동작 검증
  • 게임 루프 실행 시뮬레이션
  • 물리 및 충돌 감지 검증
  • 입력 처리 및 이벤트 응답 테스트

주요 기능

  • Flame 컴포넌트용 내장 테스트 도구
  • 게임 루프 시뮬레이션을 통한 비동기 테스트 지원
  • 크로스 플랫폼 테스트 호환성
  • Dart 테스트 프레임워크와의 통합
  • 게임 컨텍스트 및 서비스의 모킹

적합한 대상

  • 플레임 게임 개발자
  • 테스트 주도 개발을 실천하는 팀
  • 신뢰할 수 있는 회귀 테스트가 필요한 프로젝트
  • 게임 메커니즘을 위한 단위 테스트를 작성하는 개발자
  • 자동 테스팅을 통해 코드 품질을 향상시키고자 하는 사람들

고려 사항

  • Flame 엔진 개념에 익숙해야 합니다
  • 복잡한 게임 시나리오를 위해 추가 설정이 필요할 수 있습니다
  • 플레임 기반 애플리케이션에 제한됨
  • 테스트 커버리지는 철저한 테스트 설계에 달려 있습니다
  • UI 또는 시각 렌더링 테스트에 적합하지 않습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

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.

카테고리

의존성

의존성 목록 5 개

소스 저장소

이 패키지를 사용하는 프로젝트