• brian
    link
    fedilink
    arrow-up
    6
    ·
    2 months ago

    it’s not data validation like you’d put in a dto, it’s an assertion library for unit tests and such. It’s mostly just sugar that makes chaining together assertions more concise with better autocomplete you get from fluent apis. You can do the same thing with built in Assert but it’s nowhere near as nice to use

    • Cyno
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 months ago

      Ohh I mixed it up with FluentValidations, you are right. I never liked unit tests depending on libraries like that either tbf, vanilla xunit aint that bad either