Skip to content

Conversation

@giordano
Copy link
Collaborator

@giordano giordano commented Dec 4, 2025

Documentation largely written by Cursor/Claude, but I gave it a review and removed some non-sense (it had made up non-existing features like pressing ? to show the in-progress tests 🙄). I'll give it another review after making sure the workflow works.

giordano and others added 2 commits December 4, 2025 18:12
@giordano giordano added documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code labels Dec 4, 2025
@giordano giordano force-pushed the mg/docs branch 4 times, most recently from 9be3653 to 9600848 Compare December 4, 2025 19:02

### Automatic Test Discovery

`ParallelTestRunner` automatically discovers all `.jl` files in your `test/` directory and subdirectories, excluding `runtests.jl`.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another fun one here was that according to Claude setup.jl was also excluded automatically. No clue where it found it, no trace of setup.jl in the entire repository!

### Automatic Test Discovery

`ParallelTestRunner` automatically discovers all `.jl` files in your `test/` directory and subdirectories, excluding `runtests.jl`.
Tests are sorted by file size (largest first) for optimal load balancing.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, this is also made up, I'm going to fix it....

Comment on lines 119 to 136
## Custom Output Streams

You can redirect output to custom I/O streams:

```julia
using ParallelTestRunner

io = IOBuffer()
runtests(MyPackage, ARGS; stdout=io, stderr=io)

# Process the output
output = String(take!(io))
```

This is useful for:
- Capturing test output for analysis
- Writing to log files
- Suppressing output in certain contexts
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is technically not false, but I don't think it's really useful for end-users, it's mainly for testing the features of this package itself. I'm going to remove also this section.

@giordano giordano force-pushed the mg/docs branch 3 times, most recently from db6739d to 7624bbf Compare December 4, 2025 20:03
@giordano
Copy link
Collaborator Author

giordano commented Dec 4, 2025

Alright, I'm mostly happy with the documentation now, I hope I removed all the rubbish. It can always be improved in later iterations

@giordano
Copy link
Collaborator Author

giordano commented Dec 5, 2025

I'm going to merge this otherwise I'll keep revising it forever, but please suggest follow up changes!

@giordano giordano merged commit ca15026 into main Dec 5, 2025
23 checks passed
@giordano giordano deleted the mg/docs branch December 5, 2025 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants