autochecker

Dev tools

test runner

SHOW HN2016

autochecker

Test your JavaScript modules simultaneously in 32 different versions of Node.js

victorbjelkholm.github.io

#nodejs version testing#docker#cross-version testing#javascript testing

142points
61comments
#243of 2,264 in 2016
Top 11%of 2016 by points

How HN took it

LovedMost comments that take a side are positive

5 positive, 5 neutral or asking, 1 mixed, 1 critical, out of 12 comments about the project. Thread score +0.29.

Idea: 1 for, 0 againstExecution: 1 for, 0 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

  • Useful tool many developers need for module compatibility

    From 2 comments
    • This is definitely something that's needed, by myself, and many other developers. Determining module compatibility across versions is always a pain. Great tool!
      caffeinewriter on HN
    • This is great! Nice work.
      nosefrog on HN

Objections

  • 32 Node versions is excessive; most breaks are not backward incompatible

    From 2 comments
    • I don't think the issue is that they've released multiple versions, it's more that they've had so many backward-incompatible releases. Python and OCaml have had 3 each. Libc has…
      colanderman on HN
    • There have only been 3 major releases with known backwards-incompatible changes. The reason you would want to test your code in so many versions of Node would be to check that…
      AgentME on HN
  • Testing this many versions is overkill for most people

    From 1 comment
    • There have only been 3 major releases with known backwards-incompatible changes. The reason you would want to test your code in so many versions of Node would be to check that…
      AgentME on HN
  • Problem reflects poor software practice in general

    From 1 comment
    • Frankly, I feel like this is an indictment of all software development, everywhere. When you need to do this kind of a thing, you are doing it wrong. I do not mean I am doing it…
      raould42 on HN

Requests

  • Run as a hosted service without installing Docker

    From 1 comment
    • Have you thought of running this as a service? Would be nice to just through an NPM module at it and make sure it will run across multiple versions. Without having to install…
      pedalpete on HN
  • Add binary search to find breaking versions

    From 1 comment
    • Would you implement binary search? A feature like git-bisect could be usefull to find breaking changes.
      rrobukef on HN

Questions

  • Why use Docker instead of nvm with sandboxing

    From 1 comment
    • Just out of curiosity, can't this be implemented with `nvm` and some sand boxing? Why did you choose to use docker?
      caffinatedmonk on HN
  • Why test 32 versions instead of one

    From 1 comment
    • I'm more intereted in why would you need to test against 32 versions of node.js? Doesn't it maintain backwards compatibility? Shouldn't testing against one version cover it?
      eikenberry on HN

Alternatives named

  • nvm with sandboxing

    From 1 comment
    • Just out of curiosity, can't this be implemented with `nvm` and some sand boxing? Why did you choose to use docker?
      caffinatedmonk on HN
  • cpantesters

    From 1 comment
    • Other languages have this sort of test service available for open-source modules. One example is cpantesters.org, which is integrated into Perl's package repository. Not only is…
      greglindahl on HN
  • tox for Python

    From 1 comment
    • Python has a great tool called Tox for testing on multiple python versions: https://tox.readthedocs.org/en/latest/
      civilian on HN
  • chimera

    From 1 comment
    • A few months ago, I wrote something similar with the goal to test on multiple Linux distributions: https://github.com/jgillich/chimera It however doesn't execute the containers…
      jgillich on HN
  • dunit for PHP

    From 1 comment
    • Very nice project. I built something similar for PHP: https://github.com/vectorface/dunit
      jdjb 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/11536216)