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
Hi all, one of my favorite tools for testing websites is Splinter, which provides a high-level API to test a website as a user would (following links, filling forms, etc), rather than making raw HTTP requests.
They have drivers for various clients (Django test client, Chrome, etc) but not Starlette yet. So here is an implementation of a driver allowing Splinter to be used in your Starlette tests. You can instantiate it as StarletteSplinter(client), where client is your Starlette test client.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all, one of my favorite tools for testing websites is Splinter, which provides a high-level API to test a website as a user would (following links, filling forms, etc), rather than making raw HTTP requests.
They have drivers for various clients (Django test client, Chrome, etc) but not Starlette yet. So here is an implementation of a driver allowing Splinter to be used in your Starlette tests. You can instantiate it as
StarletteSplinter(client)
, whereclient
is your Starlette test client.Beta Was this translation helpful? Give feedback.
All reactions