Skip to content

Instantly share code, notes, and snippets.

@pazteddy
Last active December 11, 2025 16:33
Show Gist options
  • Select an option

  • Save pazteddy/643890914eb2886d58644fa5acb19bf1 to your computer and use it in GitHub Desktop.

Select an option

Save pazteddy/643890914eb2886d58644fa5acb19bf1 to your computer and use it in GitHub Desktop.
Pruebas para endpoints de Productos
[Fact(Skip = "Pendiente de implementación")]
public void GetAllProducts_ReturnsOkWithProducts()
{}
[Fact(Skip = "Pendiente de implementación")]
public void GetProductById_ReturnsOKWhithProduct()
{}
[Fact(Skip = "Pendiente de implementación")]
public void GetProductById_ReturnsNotFound_WhenProductDoesNotExist()
{}
[Fact(Skip = "Pendiente de implementación")]
public void CreateProduct_ReturnsCreatedWithPayload()
{}
[Fact(Skip = "Pendiente de implementación")]
public void CreateProduct_ReturnsBadRequest_WhenPriceIsNegative()
{}
[Fact(Skip = "Pendiente de implementación")]
public void UpdateProduct_ReturnsOk_WhenUpdateSucceeds()
{}
[Fact(Skip = "Pendiente de implementación")]
public void UpdateProduct_ReturnsNotFound_WhenServiceReturnsFalse()
{}
[Fact(Skip = "Pendiente de implementación")]
public void DeleteProduct_ReturnsNoContent_WhenDeletionSucceeds()
{}
[Fact(Skip = "Pendiente de implementación")]
public void DeleteProduct_ReturnsNotFound_WhenDeletionFails()
{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment