Commit Graph

15 Commits (d0c7b06eff3e8959b261145e10f1aaa57ba1e4c3)

Author SHA1 Message Date
mokou c811643d1e chore: bump library versions 2 years ago
Abdou Seck 8ad5f9bf53 feat: Add a --nocapture option to display test harnesses' outputs
This new feature can be accessed by invoking rustlings with --nocapture.

Both unit and integration tests added.

closes #262

BREAKING CHANGES:
The following function take a new boolean argument:
	* `run`
	* `verify`
	* `test`
	* `compile_and_test`
4 years ago
Mario Reder 1e2fd9c92f feat: Add clippy lints
- adds a new 'clippy' category for exercises
- clippy exercises should throw no warnings
- install script now also installs clippy

is related to https://github.com/rust-lang/rust-clippy/issues/2604
4 years ago
Roberto Vidal 43dc31193a refactor: exercise evaluation
Exercise evaluation (compilation + execution) now uses Results
Success/failure messages are standardized
4 years ago
Roberto Vidal 4b26546589 fix(run): makes `run` never prompt
`watch` and `verify` do prompt the user to actively move to the
next exercise. This change fixes `run` to never prompt. Previously
it was inconsistent between "test" and "compile" exercises.

BREAKING CHANGE: we again change the behavior of the `run` command
5 years ago
Roberto Vidal 2cdd61294f feat: improve `watch` execution mode
The `watch` command now requires user action to move to the next
exercise.

BREAKING CHANGE: this changes the behavior of `watch`.
5 years ago
Eddy Petrisor ca6bf966dd Cargo fmt the rustlings application code
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
5 years ago
Chris Pearce d01a71f7de Extract exercise struct to encapsulate path logic 5 years ago
Chris Pearce 4fa79ee02f Extract command builders into util 5 years ago
lyn abf175111d clippy-ify 5 years ago
lyn 70e59cca3c standardize exercise running via an external toml file 5 years ago
liv 320119ce96 add "--color always" to the other rustc commands 6 years ago
liv 141db7795b add --test run flag 6 years ago
liv e03a98cbf6 rustfmt 6 years ago
liv a388bb3798 split codebase 6 years ago