testdouble / testdouble/time_up

Example to store the summary to a log file.

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
118
Forks
1
Avg merge
11m
Merged PRs (30d)
1

Description

Below code is not allowing me to save the information to the log file. Appreciate your help

`
file = File.new( "log/benchmarking.log", "w+" )
TimeUp.print_detailed_summary(file)

`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the snippet using log/benchmarking.log and inspect how TimeUp.print_detailed_summary writes to the supplied file. Confirm the supported way to save the detailed summary and document a working example, including what successful output in the log file looks like.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
devtools
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.