# Running a selected set of check-expect settings

**URL:** <https://racket.discourse.group/t/running-a-selected-set-of-check-expect-settings/1252>\
**Category:** Questions & Answers\
**Tags:** question, drracket\
**Created:** [August 23, 2022, 10:34pm UTC](https://racket.discourse.group/t/running-a-selected-set-of-check-expect-settings/1252 "2022-08-23T22:34:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgomo3](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jgomo3/32/496_2.png) [@jgomo3](https://racket.discourse.group/u/jgomo3)\
**Post date:** [August 23, 2022, 10:34pm UTC](https://racket.discourse.group/t/running-a-selected-set-of-check-expect-settings/1252/1 "2022-08-23T22:34:29Z")

</div>

How can I check only one single `check-expect` or a selection of those in DrRacket?

All I know to do now is to run the whole file and review the reports from all `check-expect`s, but having half-baked wish functions, it could be cumbersome, so I have to comment all the `check-expect`s I'm not interested in a given moment.

---

<div class="post-metadata">

**Author:** ![EmEf](https://avatars.discourse-cdn.com/v4/letter/e/53a042/32.png) [@EmEf](https://racket.discourse.group/u/EmEf)\
**Post date:** [August 24, 2022, 12:10am UTC](https://racket.discourse.group/t/running-a-selected-set-of-check-expect-settings/1252/2 "2022-08-24T00:10:34Z")

</div>

When you enter your “half baked” `check-expect`s comment them out. When you work on the functions, remove the “;”.

---

<div class="post-metadata">

**Author:** ![sschwarzer](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/sschwarzer/32/1940_2.png) [@sschwarzer](https://racket.discourse.group/u/sschwarzer)\
**Post date:** [August 24, 2022, 9:58am UTC](https://racket.discourse.group/t/running-a-selected-set-of-check-expect-settings/1252/3 "2022-08-24T09:58:44Z")

</div>

@jgomo3 Regarding comments, you can also use `#| ... |#` to comment out several lines at once, and you can use `#;` to comment an s-expression.

See [1.3&nbsp;The Reader](https://docs.racket-lang.org/reference/reader.html#%28part._parse-comment%29) in the Racket Reference.

I don't know to which extent these approaches work in the student languages (that you referred to in another discussion topic, so that may be relevant for you).

---

<div class="post-metadata">

**Author:** ![jgomo3](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jgomo3/32/496_2.png) [@jgomo3](https://racket.discourse.group/u/jgomo3)\
**Post date:** [August 24, 2022, 10:17am UTC](https://racket.discourse.group/t/running-a-selected-set-of-check-expect-settings/1252/4 "2022-08-24T10:17:04Z")

</div>

Nice. It works in the BSL, thank you!
