arnx review

Bugs proven by a failing test, on every pull request.

arnx writes tests for each change and runs them. It comments only when a test fails: the input, what the code did, what it should do, and the test itself. No opinions, no style notes, and no comment when it finds nothing.

Install on GitHub

Early access. Free for public repositories. Install it, and your first pull request shows a waiting-list line until we switch your account on.

What you get

  1. One click. Install the App and pick your repositories. No workflow file, no key, nothing added to your code.
  2. A check on each pull request. It never fails: arnx does not block a merge.
  3. One comment, only for proven bugs. Updated in place on each push, with the command to reproduce it yourself.

A real one

From a pull request on our demo shop:

✗ Same discount code applied twice when written with different case or spaces
  Input: checkout on a $100 cart with codes ["SAVE10", "save10"]
  Actual: the receipt lists SAVE10 twice and the discount is 20 instead of 10
  Expected: both entries count as one code: discount 10
  src/checkout.ts:33

  it("case variants of same code count once", () => {
    const r = checkout(cartOf(100), ["SAVE10", "save10"]);
    expect(r.discount).toBe(10);
  });

What it touches