Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Testability and Further Modularization

Aperta
#256 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@PaulJonasJost ci sta già lavorando.

Dal 30/3/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.
Lingua principale
Python
Stelle
6
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PEtab-dev/PEtab-GUI

Tutte le issue di PEtab-dev/PEtab-GUI

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.