Add Test coverage on the handling of manager init

Aperta
#17 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cmake
Ambito
testing

Direzione di ricerca

Start by locating the manager initialization path, the BAL environment-variable setup, and the existing test fixtures. Add coverage for a missing default manager, an explicitly configured manager, and reconfiguration or misconfiguration, then run the relevant test suite to verify each case.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

[fix] or [plan] We could do with some test coverage on the handling or manager init as its quite a mission-critical component. ie, dont set this here, and have fixtures that create a known configured environment, such that we can assert the behaviour with there is no default manager set, and when there is.

Originally posted by @foundrytom in https://github.com/OpenAssetIO/usdOpenAssetIOResolver/pull/16#discussion_r1093023309

Currently, initialising the manager (BAL) is done up front in an environment variable, and we don't have tests around reconfiguring/misconfiguring the manager. We should add some.

Lingua principale
CMake
Stelle
28
Fork
4
Merge medio
12m
PR unite (30g)
1

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 OpenAssetIO/usdOpenAssetIOResolver

Tutte le issue di OpenAssetIO/usdOpenAssetIOResolver

Issue simili

Altre issue su Testing & QA

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.