summaryrefslogtreecommitdiff
path: root/src/verify.rs
AgeCommit message (Collapse)Author
2020-08-10chore: Run cargo fmtÉtienne Barrié
2020-07-08feat: Remind the user of the hint option (#425)Alexx Roche
Suggestion from AbdouSeck https://github.com/rust-lang/rustlings/issues/424#issuecomment-639870331 for when the student's code has errors.
2020-06-04feat: Add a --nocapture option to display test harnesses' outputsAbdou Seck
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`
2020-06-03Use .to_string rather than format macroAbdou Seck
2020-04-06feature: makes "compile" exercise print output, resolves #270Roberto Vidal
When running "compile"-mode exercises in interactive `verify` mode, we print their output when we prompt the learner if they want to continue. This improves the "experimentation" experience, since trying different things does produce a visible change.
2020-02-26feat: Add clippy lintsMario Reder
- 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
2020-02-20refactor: exercise evaluationRoberto Vidal
Exercise evaluation (compilation + execution) now uses Results Success/failure messages are standardized
2019-11-18feat(watch): show hint while watchingvyaslav
2019-11-12fix(run): makes `run` never promptRoberto Vidal
`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
2019-11-11feat: improve `watch` execution modeRoberto Vidal
The `watch` command now requires user action to move to the next exercise. BREAKING CHANGE: this changes the behavior of `watch`.
2019-10-21feat: Added exercise for struct update syntaxViacheslav Avramenko
2019-05-22Cargo fmt the rustlings application codeEddy Petrisor
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
2019-04-12Extract exercise struct to encapsulate path logicChris Pearce
2019-04-07Extract command builders into utilChris Pearce
2019-03-13deduplicateAndrew Bagshaw
2019-03-13Start verification at most recently modified fileAndrew Bagshaw
2019-03-11clippy-ifylyn
2019-03-06standardize exercise running via an external toml filelyn
2019-02-17Add thread exercises to verify entrypointHirokazu Hata
2019-02-15fix test command executionliv
seems like i forgot that you actually need to run executables created with `rustc --test`! this also reworks the "test1" exercise a bit closes #108
2019-01-25add "--color always" to the other rustc commandsliv
2019-01-23add tests; refactor exercise linksliv
2019-01-09add --test run flagliv
2019-01-09add a testliv
2019-01-09remove the ex*.rs filesliv
2019-01-09rustfmtliv
2019-01-09split codebaseliv