summaryrefslogtreecommitdiff
path: root/src/exercise.rs
AgeCommit message (Collapse)Author
2020-06-14chore: Move from master branch to main branchmokou
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-04-11fix(run): compile clippy exercise filesRohan Jain
Additionally to running clippy, also compile the exercise file so that `rustling run clippy1` works after a successful completion of the exercise. closes #291 Signed-off-by: Rohan Jain <crodjer@gmail.com>
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-11fix testsmarisa
2019-11-11Merge branch 'master' into refactor-hintsmarisa
2019-11-11feat: Refactor hint systemmarisa
Hints are now accessible using the CLI subcommand `rustlings hint <exercise name`. BREAKING CHANGE: This fundamentally changes the way people interact with exercises.
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-11-11feat: Index exercises by namemarisa
BREAKING CHANGE: This changes the way you use `rustlings run` by now requiring an abridged form of the previous filename, e.g: `rustlings run exercises/if/if1.rs` becomes `rustlings run if1`
2019-05-22Cargo fmt the rustlings application codeEddy Petrisor
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
2019-05-07Revert --nocapture flagliv
This closes #149 and #152
2019-04-22fix the --nocapture functionalityliv
2019-04-22damn itliv
2019-04-22use -- --nocapture when testingliv
2019-04-12Clean up test includes for File and PathChris Pearce
2019-04-12Extract exercise struct to encapsulate path logicChris Pearce