[docs] add MathOptInterface.jl to the list of packages#92
Merged
giordano merged 1 commit intoJuliaTesting:mainfrom Feb 23, 2026
Merged
[docs] add MathOptInterface.jl to the list of packages#92giordano merged 1 commit intoJuliaTesting:mainfrom
giordano merged 1 commit intoJuliaTesting:mainfrom
Conversation
Collaborator
|
Thanks! |
Member
|
What is the reason for using PTR only on 64bit? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey!
I started using this in https://github.com/jump-dev/MathOptInterface.jl
Some may find our workflow interesting.
There are a lot of tests in MOI, and it is almost entirely bottlenecked by compilation time. (I should probably experiment with
Base.Experimental.@optlevel.)We shard the tests into directories in
/test, and then useParallelTestRunnerto parallelise over the files in each directory.Each file is a module that automatically detects and runs all of the functions named
test_.I find this works much better than
@testset, where I kept leaking stuff into setup and global scope and it was hard to maintain.Now adding a test is: choose a file, add a function.
You can improve parallelisation by splitting tests into a new file
The biggest downside is that it's easy to add two functions with the same name that overwrite each other. So there's a test to avoid that:
https://github.com/jump-dev/MathOptInterface.jl/blob/ea3cf8ca0060d776bb351fe4f7e1698d308f105c/test/General/test_errors.jl#L430-L453