Baretest

Dev tools

test runner

SHOW HN2020

18points
12comments
#1,790of 3,028 in 2020
Top 60%of 2020 by points

How HN took it

MixedNo clear lean

4 positive, 5 neutral or asking, 0 mixed, 2 critical, out of 11 comments about the project. Thread score +0.09.

Idea: 4 for, 1 againstPerformance: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Lightweight and useful for testing size-constrained serverless scripts

    From 2 comments
    • This is actually something I've been looking for, to be able to test script size constrained serverless scripts! Does it work when minified, or does it need node? (By the way,…
      tmikaeld on HN
    • My use case is for Cloudflare Workers specifically, they have a max-size of 1MB per script and even while doing tests locally in node - the actual worker behave differently, so…
      tmikaeld on HN
  • Small codebase compared to Jest

    From 1 comment
    • I wouldn't be surprised to see a test runner with the same features done in 1000–5000 lines.
      volument on HN

Objections

  • Not a direct alternative to Jest, which offers far more features

    From 2 comments
    • I'm not this is really an alternative, at least a direct alternative, to Jest. Jest is much larger - but you get a LOT more functionality, so this isn't really surprising. You…
      lmiller1990 on HN
    • In that case, will this really cut down on time to see the test result? Won't I have to trigger my TS/React build, then run the test (two separate actions, difficult to automate…
      lmiller1990 on HN
  • Benchmark is too basic to prove speed claims

    From 1 comment
    • I'm not this is really an alternative, at least a direct alternative, to Jest. Jest is much larger - but you get a LOT more functionality, so this isn't really surprising. You…
      lmiller1990 on HN
  • Setting up transpiling and DOM tooling still slows tests

    From 2 comments
    • I'm not this is really an alternative, at least a direct alternative, to Jest. Jest is much larger - but you get a LOT more functionality, so this isn't really surprising. You…
      lmiller1990 on HN
    • In that case, will this really cut down on time to see the test result? Won't I have to trigger my TS/React build, then run the test (two separate actions, difficult to automate…
      lmiller1990 on HN

Requests

  • Support for minified scripts and client-side testing

    From 2 comments
    • This is actually something I've been looking for, to be able to test script size constrained serverless scripts! Does it work when minified, or does it need node? (By the way,…
      tmikaeld on HN
    • Great to hear! Can you shed some light on "script size constrained serverless scripts"? Would possibly make a good FAQ entry. And yes. Bareserver needs Node currently and is not…
      volument on HN
  • Better benchmarks covering real examples

    From 1 comment
    • I'm not this is really an alternative, at least a direct alternative, to Jest. Jest is much larger - but you get a LOT more functionality, so this isn't really surprising. You…
      lmiller1990 on HN

Questions

  • Does it work with minified code without Node?

    From 1 comment
    • This is actually something I've been looking for, to be able to test script size constrained serverless scripts! Does it work when minified, or does it need node? (By the way,…
      tmikaeld on HN

Alternatives named

  • Jest

    From 2 comments
    • I'm not this is really an alternative, at least a direct alternative, to Jest. Jest is much larger - but you get a LOT more functionality, so this isn't really surprising. You…
      lmiller1990 on HN
    • True. However, according to "The State of JavaScript" [1] Jest is the most popular option these days and it is chosen because it is simple, lightweight, fast, and easy [2] — all…
      volument on HN
  • Tape

    From 1 comment
    • Seems more like an alternative for Tape to me.
      k__ on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/22263314)