FactoryDoctor: what about a config option to handle the output results? #226
blocknotes
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hey! Currently, you can specify a custom IO to print logs; for example, to write Test Prof output to a file: TestProf.configure do |config|
config.output = File.open("path/to/some/file.txt", "w")
# don't add ASCII color tags
config.color = false
end |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
nice idea regarding Factory Doctor :)
What about adding a config option (ex. a block option) to be able to handle the results (probably this part)?
Some use cases are: redirecting the messages to a file, sending them to an external service, expose them in the CI, using Notifications, etc.
Beta Was this translation helpful? Give feedback.
All reactions