Pytest vs unittest? #18
-
@nmarquesin @JamesSample what would you prefer to implement for testing? I have only used pytest so far but happy to look into unittest if that is preferred. Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
PyTest is fine by me :-) |
Beta Was this translation helpful? Give feedback.
-
I had only used PyTest before this week but now had a look at unittest and is also pretty ok to implement. But regardless of which of the two libraries we choose, I am running into issues when implementing automated browser testing because of Streamlit current limitations. I've tried using selenium by itself and with robot framework, because I saw someone suggesting it for Streamlit testing. The problem I'm stuck with is that I can't find a way to select the side bar generated by Streamlit, and therefore I cannot navigate the app programmatically to test its functionality. Are we interested in running automated tests as well as unit tests? If so, would an "upgrade" to a django app be completely out of question for the final delivery? |
Beta Was this translation helpful? Give feedback.
PyTest is fine by me :-)