Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Testability and Further Modularization

Đang mở
#256 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@PaulJonasJost đang làm issue này rồi.

Từ ngày 30/3/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

help wanted improvement WIP

This Issue tracks the progress in adapting to a more stringent MVC (almost an MVP) to allow testing of the model, view, and controller separately. The current plan (open for adjustment suggestions) is as follows:

  • Separate Model, View, and Controller by using more signals, such that views and controllers never actively call the controller
  • Wire Signals at the start of the application (making the controller quasi-independent of the actual view and model)
  • Above enables tests for views
  • Extract Data logic from PandasTableModel
    • It is a proxy/data table model, i.e. already working very closely with the views. Instead, do also prepare better for v2, write its own clean functionality model that only cares about the data (pandas dataframe or pedantic model), and then the TableModel will use this data manager.
    • Write tests explicitly for managers
  • Create Pep544 Protocols for the controller tasks, such that they can be easily set up for testing.
Ngôn ngữ chính
Python
Star
6
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PEtab-dev/PEtab-GUI

Tất cả issue của PEtab-dev/PEtab-GUI

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.