File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
""" The main purpose of this file is to demonstrate running SeleniumBase
2
2
scripts without the use of Pytest by calling the script directly
3
3
with Python or from a Python interactive interpreter. Based on
4
- whether relative imports work or don't work, it will autodetect
5
- how this file was run. With pure Python, it will need to initialize
4
+ whether relative imports work or don't, the script can autodetect
5
+ how this file was run. With pure Python, it will initialize
6
6
all the variables that would've been automatically initialized
7
- by the Pytest plugin. The same thing is required for the setUp()
8
- and tearDown() methods, which are now called from the script itself.
7
+ by the Pytest plugin. The setUp() and tearDown() methods are also
8
+ now called from the script itself.
9
9
10
10
One big advantage to running tests with Pytest is that most of this
11
11
is done for you automatically, with the option to update any of the
You can’t perform that action at this time.
0 commit comments