FlaxCommunityProjects / FlaxCommunityProjects/FlaxUnitTesting

Use FlaxEngine Asserts

Offen
#6 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
5
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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();`

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
testing-qa
Issue-Typ
Refactoring
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.