Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(41)

Issue 6624055: Add a tool to run tests automatically on change

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by clint.byrum
Modified:
6 years, 8 months ago
Reviewers:
mp+128356, jimbaker
Visibility:
Public.

Description

Add a tool to run tests automatically on change While developing, its quite helpful to have relevant run automatically on any changes. The script proposed here will do exactly that, using iwatch (so it will only work on Linux systems). https://code.launchpad.net/~clint-fewbar/juju/add-testrunner/+merge/128356 (do not edit description out of merge proposal)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -0 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
A misc/devel-tools/test-watcher View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 2
clint.byrum
Please take a look.
9 years, 7 months ago (2012-10-06 15:49:49 UTC) #1
jimbaker
9 years, 6 months ago (2012-10-25 16:26:46 UTC) #2
Some minor issues I observed in trying this useful utility out:

1) eatmydata and iwatch need to be installed in advance; this issue is more
pronounced for eatmydata since it will fail in the test phase. I'm not certain
what the best approach is for this juju package. Perhaps just test installation
of both tools before running, as opposed to making this a requirement of juju
itself.

2) At least on my desktop, the test is always run twice, because iwatch seems to
pick up the file change twice.

3) Users need to remember they have this utility running and not attempt to run
more tests simultaneously, otherwise both  test runs will now fail.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b