FlaxCommunityProjects / FlaxCommunityProjects/FlaxUnitTesting

Use FlaxEngine Asserts

Abierto
#6 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
5
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
testing-qa
Tipo de issue
Refactorización
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.