Skip to content

[pytest] Add support for using custom markers#1706

Merged
neethajohn merged 1 commit intosonic-net:masterfrom
neethajohn:custom_marker
May 29, 2020
Merged

[pytest] Add support for using custom markers#1706
neethajohn merged 1 commit intosonic-net:masterfrom
neethajohn:custom_marker

Conversation

@neethajohn
Copy link
Contributor

Signed-off-by: Neetha John [email protected]

Description of PR

Based on the pytest organization proposal, added parsing logic to support custom markers

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

How did you verify/test it?

Wrote sample scripts with testcases marked using different custom markers. Tested the following cases

  1. --topology , --topology <topo1,topo2>
  2. --feature , --feature <feature1, feature2>
  3. --asic
  4. --connection_type
  5. --device_type
  6. --feature --topology

Copy link
Collaborator

@yxieca yxieca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the parameter usage examples somewhere visible?

NJ> Test marking usage is specified in the pytest org proposal doc. As for the markers available and what are the applicable values, you can get them using pytest --markers

@neethajohn neethajohn merged commit 9c718d8 into sonic-net:master May 29, 2020
@neethajohn neethajohn deleted the custom_marker branch May 29, 2020 21:50
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…7411)

adf5ab58 [vstest/subintf] Add vs test case to validate processing sequence of APPL DB keys (sonic-net#1663)
8a732726 [intfsorch] Create subport with the entry contains necessary attributes (sonic-net#1650)
7ba813b2 [vstest/subintf] Update vs tests to validate physical port host interface vlan tag attribute (sonic-net#1634)
ed32e333 [portsorch] Configure hostif tagging for subports (sonic-net#1573)
b5209c43 Handle IPv6 and ECMP routes to be programmed to ASIC (sonic-net#1711)
515cc1a7 [Dynamic buffer calc][Mellanox] Fix bug: buffer over subscription in buffer pool size calculation (sonic-net#1706)
0ad524b2 [202012] Allowing the first time FEC and AN configuration to be pushed to SAI (sonic-net#1710)

Signed-off-by: Stephen Sun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants