Skip to content

Commit

Permalink
Added more detail to Avoid Sharing State Documentation (#1948)[deploy…
Browse files Browse the repository at this point in the history
… site]

* added more detail to Avoid

* put back in English - to be tagged for translation

* put back in English - to be tagged for translation

* put back in English - to be tagged for translation
  • Loading branch information
shbenzer authored Sep 23, 2024
1 parent 641d767 commit e1fa2da
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ test e.g. invalid order records.

* Create a new WebDriver instance per test. This helps ensure test isolation
and makes parallelization simpler.

* If you choose [pytest](https://pytest.org/) as your test runner, this can be
easily done by yielding your driver in a global fixture. This way each test gets its own
driver instance, and you can ensure that drivers always quit after a test is finished
(pass or fail).
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ aliases: [

* テストごとに新しいWebDriverインスタンスを作成します。
これにより、テストの分離が保証され、並列化がより簡単になります。

* If you choose [pytest](https://pytest.org/) as your test runner, this can be
easily done by yielding your driver in a global fixture. This way each test gets its own
driver instance, and you can ensure that drivers always quit after a test is finished
(pass or fail).
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ teste, por exemplo registros de pedidos inválidos.

* Crie uma nova instância do WebDriver por teste. Isso ajuda a garantir o isolamento do teste
e torna a paralelização mais simples.

* If you choose [pytest](https://pytest.org/) as your test runner, this can be
easily done by yielding your driver in a global fixture. This way each test gets its own
driver instance, and you can ensure that drivers always quit after a test is finished
(pass or fail).
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ aliases: [

* 每次测试都创建一个新的WebDriver实例.
这在确保测试隔离的同时可以保障并行化更为简单.

* If you choose [pytest](https://pytest.org/) as your test runner, this can be
easily done by yielding your driver in a global fixture. This way each test gets its own
driver instance, and you can ensure that drivers always quit after a test is finished
(pass or fail).

0 comments on commit e1fa2da

Please sign in to comment.