Anybody have automated testing guidelines? #295
Replies: 2 comments 1 reply
-
I've only played with |
Beta Was this translation helpful? Give feedback.
-
They would, but I'm having trouble imagining what these hooks would look like. Unicorn's not just a view fragment, right? There's AJAX and JSON right from the get-go. Thinking out loud: if I wanted some pre-browser tests, I could make assertions that the models and objects I use in components translate cleanly to JSON. That seems to be the main surprise I bump into, especially around a couple m2m relations in my project. I'll have to ponder, and again I'm not sure where you could bake in a testing hook for that. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Subject pretty much covers the thought I'm having.
Currently I use pytest with pytest-playwright for browser-level testing. I wondered if anybody has suggestions or preferred approaches for testing the components at a lower level than Full Browser.
Beta Was this translation helpful? Give feedback.
All reactions