搜尋套件、儲存庫與 APP 分類

套件詳情v0.2.0

page_object

一個 Flutter 套件,用於協助在 Flutter 應用中實作頁面物件模式。

近 30 天下載
18
喜歡數
9
Pub 分數
60

安裝套件

flutter pub add page_object

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

page_object 套件是一個專為 Flutter 設計的工具,旨在支援頁面物件模式,這是一種促進可重複使用與可維護測試程式碼的設計方法。它允許開發人員將 UI 頁面建模為類別,封裝特定頁面的互動與斷言。這提升了測試的可讀性,減少程式碼重複,並簡化自動化測試中的維護工作。該套件與 Flutter 的測試生態系統整合良好,特別適用於端對端及 widget 測試情境。

適用情境

  • Flutter 應用中的自動化 UI 測試
  • 為螢幕建立可重複使用的測試元件
  • 提高測試可維護性
  • 實施結構化測試架構
  • 減少測試腳本中的重複

主要特色

  • 封裝每螢幕的UI互動
  • 支援測試邏輯和UI細節的清晰分離
  • 促進跨測試檔案的可重用性
  • 與 Flutter 的測試框架整合
  • 提供了一種結構化的測試開發方法

適合對象

  • 使用 Flutter 的測試工程師
  • 團隊在實踐測試驅動開發
  • 需要可擴展測試套件的項目
  • 開發人員編寫端對端或小部件測試
  • 在測試中採用設計模式的團隊

使用建議

  • 需要理解頁面對象模式
  • 可能為非常簡單的測試增加開銷
  • 最適合大型測試套件
  • 基本手動測試不需要
  • 依賴於測試代碼中正確的類結構

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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.

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。