Skip to content

Need mechanism for tests ordering (execute L1 tests at the end) #242

@StepanVovkPLV

Description

@StepanVovkPLV

Issue: with L1 tests we facing issue of changing port(s) speed, duplex etc. In order to get device to pretest condition we rebooting device.
To save time on tests run decided to reboot device on the last test within the L1 tests in the session.

We see two solution to reboot device on the last test :

  1. Modifying conftest.py like in the draft PR -> Reboot device after L 1 tests #243
  2. Bring pytest-order library which supports session-, module- and class-scope ordering via the order-scope option . But hesitate to bring new library if we ever use it just for L1 tests

@mgheorghe can you please advice.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions