datadriven

Data-Driven Testing for Go (by cockroachdb)

Datadriven Alternatives

Similar projects and alternatives to datadriven

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better datadriven alternative or higher similarity.

datadriven reviews and mentions

Posts with mentions or reviews of datadriven. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-01.
  • Prefer table driven tests (2019)
    6 projects | news.ycombinator.com | 1 Feb 2024
    Table driven tests are a lot better than a bunch of imperative tests but they rapidly become unwieldy to debug, maintain, and evolve. Their readability often isn’t great.

    If you’re using go, check out https://github.com/cockroachdb/datadriven. It takes a little bit of effort to craft a testing dsl, but it is so worth it.

    Also, snapshot style testing where the test writes out its expectations and you just inspect it and save it (part of datadriven) is wonderful.

    I’ve been using insta in rust lately and it’s some of what I want but not quite datadriven.

  • Ask HN: What's your favorite software testing framework and why?
    15 projects | news.ycombinator.com | 21 May 2023
    I’ve found the datadriven[1] testing approach in go to be quite effective. The idea is that you leverage a standardized file structure to construct a little DSL for testing your code. This allows you to write expressive tests that print the state of the code and then look at it. Rewrite is also very powerful.

    This is all inspired by the sqllite logic test framework.

    [1]: https://github.com/cockroachdb/datadriven

Stats

Basic datadriven repo stats
2
39
2.0
about 2 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com