Expand description
What a suite runs against. Core is the part every environment has: the settings, the
address of the app, the work directory, an HTTP client and a chromedriver shared by the
tests. A test crate wraps it in its own environment, which adds whatever its app needs (a
backend, a database) and implements Env.
Structs§
- Chrome
Config - How the Chrome sessions are set up, apart from what every app gets.
- Core
- The part of the environment every suite has. An
Envdereferences to it. - Settings
- Settings from the
E2E_*environment variables.
Constants§
Traits§
- Env
- The environment of one suite: started once, before the first test that needs it, shared by all the tests of the suite and shut down after the last one.
Functions§
- free_
port - A port nothing listens on at the moment, for a server the environment starts.