Provide decorators for skipping code if an optimizer is not available
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 270
- Forks
- 123
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 3
Description
Description
Dymos recently added a decorator in openmdao/dymos#570, which may be something we want to implement in pyOptSparse natively also. This could be useful for:
- skipTest in pyOptSparse tests
- test scripts in other repos (e.g. MACH-Aero, pygeo)
May be related to #187.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the decorator added in openmdao/dymos#570 and the related discussion in #187. Compare its intended use with pyOptSparse tests and test scripts in MACH-Aero and pygeo. Done should include an agreed native decorator design and documented behavior for skipping when an optimizer is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100