How to test a prompt xontrib? #5392
Unanswered
Spitfire1900
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am working on a new xontrib, and I'm about ready to release it but I want to write tests first.
My xontrib adds a number of Prompts to the session.
When testing with the xession pytest fixture though I've noticed that only the Prompts that ship out-of-the-box with xonsh are included and not the ones that are installed by
My xontrib has an entry point so xonsh installed in my projects venv autoloads the PROMPTS normally
Beta Was this translation helpful? Give feedback.
All reactions