Right now it tests a fixed set of one file apps. Primarely apps on the Streamlit Github page. But also some I’ve created and some I’ve collected from the community.
If you have the awesome-streamlit repo up and running as described in the README.md then you can run the test runner using
streamlit run test_runner_app.py
You can also just try it using Docker
docker run -it -p 80:80 --entrypoint "streamlit" marcskovmadsen/awesome-streamlit:latest run test_runner_app.py
No. I like and trust pytest very much as most people do. So if I can run something with pytest I will keep it there.
But for now I don’t know how exactly how to test streamlit and since I expanded the Gallery I wanted to make sure all files/ app shown can actually run without problems. So I developed this. Afterwards I thought. But hey! You’ve just implemented something like karma. I don’t actually like karma. And I was actually quite pleased that this has the potential to become much better and more awesome.
How do you test a single page app? And where can I find examples or documentation.
Then I also thought. But hey! This could maybe actually end up as a plugin to pytest. Both with functionality to test streamlit. But also as a GUI for better navigating and viewing the pytest output.
Yes. Two people one thought. I’ve just not used the styler before, but I eventually should. Could be so awesome.
Maybe this link will changed. This was a simple first version that might be refactored, matured and generalized.
You can see the awesome-streamlit test runner as an idea that you are welcome to take and run with for streamlit. But if you do please note that I get energy and more ideas from being credited somehow
And I think the test runner is a testemony to how awesome Streamlit is. And not just for AI.
I’ve never ever been able to build something like that in Python before. And in Django/ Angular that I’m currently developing in it would have taken forever.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.