# Testing User Input in GitHub CI/Test Suites?

**URL:** <https://discourse.julialang.org/t/testing-user-input-in-github-ci-test-suites/130210>\
**Category:** General Usage\
**Tags:** question, testing, io\
**Created:** [June 25, 2025, 4:35pm UTC](https://discourse.julialang.org/t/testing-user-input-in-github-ci-test-suites/130210 "2025-06-25T16:35:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [June 25, 2025, 4:52pm UTC](https://discourse.julialang.org/t/testing-user-input-in-github-ci-test-suites/130210/3 "2025-06-25T16:52:19Z")

</div>

If you don’t want to change your codebase to pass around an `io` like that, you can also use `redirect_stdin` around the test itself. It’d be nice if that could take an `IOBuffer`, but it doesn’t allow that currently. You can [write a temporary file](https://discourse.julialang.org/t/piping-directly-to-stdin/2446/5) to get around it.

---

_[View the full topic](https://discourse.julialang.org/t/testing-user-input-in-github-ci-test-suites/130210)._
