You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one doesn't have the "ExamplePlugin" plugin installed, then when using ./run_tests --re <pattern> you will receive an error at end showing something like:
Traceback (most recent call last):
File "/Users/mcdodj/Documents/projects/raven/scripts/plugin_handler.py", line 207, in <module>
raise KeyError('Plugin "{}" not installed!'.format(requested))
KeyError: 'Plugin "ExamplePlugin" not installed!'
What did you expect to see happen?
Given that I'm not testing a plugin, I probably shouldn't see errors regarding plugins. It gives way to confusion to see errors past the point of the program actually succeeding.
What did you see instead?
I saw errors concerning plugins when I wasn't testing plugins.
Do you have a suggested fix for the development team?
I'm assuming plugin_handler.py is run every time ./run_tests is run. Perhaps adding an --all flag will include plugin tests and thus run the plugin_handler.py script as well.
Describe how to Reproduce
Steps to reproduce the behavior:
Try running ./run_tests --re Wavelet
Platform (please complete the following information):
OS: macOS 10.15.7
Dependencies Installation: Conda
For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.
1. Is it tagged with a type: defect or task?
2. Is it tagged with a priority: critical, normal or minor?
3. If it will impact requirements or requirements tests, is it tagged with requirements?
4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)
For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.
1. If the issue is a defect, is the defect fixed?
2. If the issue is a defect, is the defect tested for in the regression test system? (If not explain why not.)
3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?
The text was updated successfully, but these errors were encountered:
The intention right now is the ExamplePlugin (which is part of the repo) always gets run even if no other plugins are installed. There are separate tests that run for the full suite of plugins, but the Example plugin is used to test RAVEN's plugin mechanics separate from external plugins.
This does assume that at some point it also is installed as a plugin, which we do on all the test machines, but do not do by default as part of the build process; I agree there could be some improvement here.
Defect Description
Describe the defect
If one doesn't have the "ExamplePlugin" plugin installed, then when using
./run_tests --re <pattern>
you will receive an error at end showing something like:What did you expect to see happen?
Given that I'm not testing a plugin, I probably shouldn't see errors regarding plugins. It gives way to confusion to see errors past the point of the program actually succeeding.
What did you see instead?
I saw errors concerning plugins when I wasn't testing plugins.
Do you have a suggested fix for the development team?
I'm assuming
plugin_handler.py
is run every time./run_tests
is run. Perhaps adding an--all
flag will include plugin tests and thus run theplugin_handler.py
script as well.Describe how to Reproduce
Steps to reproduce the behavior:
./run_tests --re Wavelet
Platform (please complete the following information):
For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.
For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.
The text was updated successfully, but these errors were encountered: