Glossary
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- documentation
Direzione di ricerca
Esamina il glossario e le relative definizioni nell’issue #104, quindi valuta se i termini elencati o altri concetti di codice necessitino di chiarimenti. Discuti la terminologia poco chiara nell’issue; il lavoro è completato quando le definizioni concordate sono state incorporate nel glossario.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- Subject - a single value (string or binary) which best records a snapshotted entity
- Facet - a single named value (string or binary) which records a single aspect or point of view of a snapshotted entity
- Snapshot - a combination of a subject and zero or more facets which captures all relevant data of an entity whose behavior we wish to record and specify
- Camera - a function that transforms a specific type of entity into a snapshot
- Lens - a function which transforms one snapshot into a new snapshot, usually by adding new facets that emphasize a certain point of view of the subject, but possibly also by cleaning the existing subject and facets
- Equality assertion - a success condition which requires a value under to test to exactly match an expected value
- Inline snapshot - an equality assertion where the expected value can be written into the sourcecode by automated tooling
- Inline literal snapshot - an inline snapshot where the expected value must always be a source code literal, never a compound expression
expect(2 + 2).toMatchInlineSnapshot(4)<-- inline literal snapshotexpect(2 + 2).toMatchInlineSnapshot(2 * 2)<-- inlineliteralsnapshot, because it's not literal, when tooling modifies the value inside(), it can't do a self-error-check to make sure it has correctly parsed the same value which got passed at runtime- Conversationally people will say "inline snapshot", "literal snapshot", "inline literal snapshot", etc. They mostly mean the same thing, but in selfie we will try to always say "inline literal".
If you think any of these terms are unclear, feel free to discuss below. If there are any other concepts in the code which should be defined explicitly, feel free to discuss below. The final result of all discussions is incorporated into the list above via editing, after which the discussions may be deleted. This glossary is based on an idea from Rich Hickey's Design in Practice talk.
- Lingua principale
- Kotlin
- Stelle
- 101
- Fork
- 18
- Merge medio
- 6g 11h
- PR unite (30g)
- 5
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di diffplug/selfie
-
Selfie JVM Snapshot Garbage Collection is overly zealous when using multiple test suites in gradleApertabug jvm
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
enhancement jvm
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
bug jvm
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
bug docs jvm
Difficoltà 2/5 1-3 ore Idoneità per principianti 50/100
-
bug jvm py
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
Tutte le issue di diffplug/selfie
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SimonHalvdansson/Harmonic-HN#363 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
Automattic/pocket-casts-android#6095 ·
I maintainer di solito rispondono entro 1 giorno