搜索插件、代码仓与 APP 分类

插件详情v2.1.1

elementary_test

一个测试库,可轻松测试 elementary 使用的应用程序。专为与 elementary 架构包一起使用而构建。

AndroidiOSmacOSWindowsLinux
近 30 天下载
2290
喜欢数
27
Pub 分数
160

安装插件

flutter pub add elementary_test

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

elementary_test 是一个测试库,旨在简化使用 elementary 架构构建的应用程序的测试。它提供了针对 elementary 基础应用中的业务逻辑、状态管理和 UI 组件测试量身定制的工具和辅助功能。该库专为与 elementary 架构包配合使用而设计,通过提供一致的模式和模拟支持,简化了单元测试和组件测试。该库支持所有主要平台,非常适合跨平台测试工作流程。

适合场景

  • 测试基础应用中的业务逻辑
  • 验证状态转换
  • 在单元测试中模拟依赖项
  • 使用基础架构测试 UI 组件
  • 确保跨平台构建的一致性

主要特点

  • 对基础架构的内置支持
  • 依赖项的模拟工具
  • 一致的测试模式
  • 跨平台兼容性
  • 与 Flutter 测试框架的集成

适合对象

  • 使用 elementary 架构的开发者
  • 注重测试可靠性的团队
  • 需要结构化测试的项目
  • 跨平台 Flutter 应用程序
  • 具有复杂状态管理的应用程序

使用建议

  • 需要 elementary 架构包
  • 仅限基于基础的应用结构
  • 新用户可能需要一定的学习曲线
  • 最适合遵循 elementary 约定的应用程序
  • 不适用于非基础项目

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Flutter Elementary repository

Elementary Logo

Owner Pub Version Coverage Status Pub points Pub Likes Downloads Contributors License

Description

This repository is a home to packages and tools from the Elementary library family.

Package Version
elementary Pub Version
elementary_helper Pub Version
elementary_test Pub Version
elementary_cli Pub Version

Elementary Overview

Elementary is a simple and reliable way to build applications with MVVM in Flutter. Benefits of using Elementary include:

  • Maximum Flutter-like: You don't need to spend a lot of time learning the library if you are already familiar with the standard Flutter approaches.
  • Code separation by responsibility: Splitting code into different layers reduces coupling, making the code simpler and more readable.
  • High testability: All layers, from widgets to business logic, are highly testable.
  • Team efficiency: It boosts speed for teams consisting of more than one person, due to the easy sharing of independent task parts among team members.

Documentation

Learn more at our website with documentation.

Environment

To reduce the amount of boilerplate and manual work, Elementary offers a few options:

Examples

  • Country: A general example of how to use Elementary for development.

  • Elementary with Redux: An example of how to use Elementary with Redux.

  • Profile: An example demonstrating a feature that spans separate screens, and how to use Elementary with Bloc.

Maintainer

Maintainer avatar

Mikhail Zotyev

Contributors thanks

Big thanks to all these people, who put their effort into helping the project.

contributors

Special thanks to:

Dmitry Krutskikh, Konoshenko Vlad, and Denis Grafov for the early adoption and the first production feedback;

Alex Bukin for IDE plugins;

All members of the Surf Flutter Team for actively using and providing feedback.

Sponsorship & Support

Special sponsor of the project:

Surf

For all questions regarding sponsorship/collaboration connect with Mikhail Zotyev.

We appreciate any form of support, whether it's a financial donation, a public sharing, or a star on GitHub and a like on Pub. If you want to provide financial support, there are several ways you can do it:

Thank you for all your support!

所属分类

依赖

依赖清单 3 项

源码仓库

使用此插件的项目

暂无相关数据。