FlaxCommunityProjects / FlaxCommunityProjects/FlaxUnitTesting

Use FlaxEngine Asserts

Aperta
#6 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
5
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The FlaxEngine comes with a class full of assertion functions `FlaxEngine.Assertions.Assert`. So we don't really need to ship our own.

The only exception here is the pass assertion. `public static void Pass() => throw new SuccessException();`

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inspect the project's assertion implementation and its usages, then compare them with FlaxEngine.Assertions.Assert. Replace the shipped assertion functions with the engine's equivalents while preserving the Pass behavior described in the issue. Done means the redundant assertions are no longer needed and existing tests still pass.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.