Skip to content

Instantly share code, notes, and snippets.

@Marlena
Created July 15, 2011 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Marlena/1084830 to your computer and use it in GitHub Desktop.
Save Marlena/1084830 to your computer and use it in GitHub Desktop.
Marks and builds
This is an attempt to sort out having tests for zamboni pages and impala pages in one codebase.
Tests will get marks:
@pytest.mark.impala
def test_the_header_layout(self, testsetup):
@pytest.mark.zamboni
def test_the_header_layout(self, testsetup):
On the command line, use -k impala to gather tests marked impala.
When this is combined with the url for impala, it will run impala tests.
Link to input test with marks:
https://github.com/mozilla/input-tests/blob/master/test_mobile_layout.py#L46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment