Repository navigation
Option to specify single plugin test (or single test file) with logging - #73
Merged
Merged
Conversation
mschrimpf
approved these changes
Sep 27, 2022
mschrimpf
left a comment
Member
There was a problem hiding this comment.
Looks good, but can you add the usage examples from the PR description to the docs?
Contributor
Author
|
@gretatuckute @aalok-sathe does this address your use case? |
gretatuckute
approved these changes
Sep 28, 2022
gretatuckute
left a comment
Contributor
There was a problem hiding this comment.
Yes, it does. thank you Katherine!
mschrimpf
pushed a commit
that referenced
this pull request
Oct 26, 2022
…ng (#73) * option to run single test * typo * cleanup * documentation Co-authored-by: Katherine Fairchild <[email protected]>
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.
Adds option to specify either a single plugin
test.pyand run all tests included or a singular test.Usage examples (this PR adds 1 & 2)
Run all tests for
futrell2018benchmark:python brainscore_language/plugin_management/test_plugins.py brainscore_language/benchmarks/futrell2018/test.pyRun only tests with names matching specified pattern (
test_exact):python brainscore_language/plugin_management/test_plugins.py brainscore_language/benchmarks/futrell2018/test.py --test=test_exactRun all tests for all plugins:
python brainscore_language/plugin_management/test_plugins.py