Racketeer
A continuous testing plugin for DrRacket.
Installation
From DrRacket
- In DrRacket: File -> Package Manager -> Do What I Mean
- Paste this URL into the Package Source textbox:
git://github.com/miraleung/racketeer
- If your version of Racket is older than v7, please use
git://github.com/miraleung/racketeer#racket-v6.2
- If your version of Racket is older than v7, please use
- Click install
If you don't see Package Manager in the menu, your version of Racket may need to be updated.
raco
Fromraco pkg install racketeer
From source with raco
This will allow local changes to the tool's source files to be reflected in DrRacket.
git clone https://github.com/miraleung/racketeer.git
cd racketeer
raco link racketeer
raco setup racketeer
Racketeer Package Updates
From DrRacket
- File -> Package Manager -> Available From Catalog
- Click "Update Package List"
From raco
raco pkg update racketeer
Usage
- Code
- Look at tests
- Repeat
Notes
- Highlighting can be toggled on or off at File -> Racketeer Test Highlighting
- Test highlighting is cleared while code is being edited.
- Test variants neither defined nor included in the currently-used language and libraries are marked as errors.
Currently supported languages and test variants
-
HtDP and Racket:
check-expect, check-error, check-satisfied, check-range, check-member-of
- The Racket language (
#lang racket
) does not include these test variants by default. If you are using this language, please add(require test-engine/racket-tests)
after the language declaration.
- The Racket language (
PLAI:
test, test/pred, test/exn
-
RackUnit: All
check
variants
Uninstalling
From DrRacket
- In DrRacket: File -> Package Manager -> Currently Installed
- Filter for "racketeer"
- Remove
From raco
raco pkg remove racketeer