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
Gotcha. I've found Robot to be useful for testing at the CLI level and interacting with system things. Pytest is great for unit tests, but once you need to test a CLI I've found myself writing a lot of extra, error-prone logic (subprocess and parsing stdout) whereas Robot has that built in. Robot also has a high-level syntax so the purpose of tests is pretty clear.
I guess it also depends on how you envisioned this working. Would you be importing Python modules and calling functions directly? Or would you be running the CLI and checking output (similar to how the end user would operate)? Robot is good for the latter case.
Idea: add a series of tests that interact with a real ring to verify functionality (like changing python versions, or a new ring)
I think this could be a big pytest file, but it shouldn't be executed by default, you should need to invoke/run it explicitly
Things to check:
Don't need to do all of this in one PR
The text was updated successfully, but these errors were encountered: