News for hackers. Stuff that matters.
Re:Show HN: Baretest – A Minimalistic Alternative to Jest by volument on Friday February 07, 2020 @11:30PM (#22273881)
Good points. Just want to point out that comparing with a basic "sum" function measures the performance of the test runner and leaves out the time it takes to run the application code. Baretest has little overhead so it is good for testing the actively developed code with the `only` function.

With Baretest all the custom things you do like transpiling TS or rendering React is done outside the test runner. This way it can test cases of any complexity.

Re:Show HN: Baretest – A Minimalistic Alternative to Jest by lmiller1990 on Saturday February 08, 2020 @07:20AM (#22275381)
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 this).

Again, I like simple... but it seems like to move from Jest to baretest I'd be giving up a lot, in terms of both features and time from saving my file to seeing the test result.