[ 
https://issues.apache.org/jira/browse/BEAM-3713?focusedWorklogId=313371&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-313371
 ]

ASF GitHub Bot logged work on BEAM-3713:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Sep/19 00:20
            Start Date: 17/Sep/19 00:20
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on pull request #7949: [BEAM-3713] 
Add pytest testing infrastructure
URL: https://github.com/apache/beam/pull/7949#discussion_r324937189
 
 

 ##########
 File path: sdks/python/tox.ini
 ##########
 @@ -56,27 +56,53 @@ commands =
   python apache_beam/examples/complete/autocomplete_test.py
   python setup.py nosetests --ignore-files '.*py3.py$'
 
+[testenv:py27-pytest]
+commands =
+  python apache_beam/examples/complete/autocomplete_test.py
+  {toxinidir}/scripts/run_pytest.sh {envname} "{posargs}"
+
 [testenv:py35]
 setenv =
   RUN_SKIPPED_PY3_TESTS=0
 commands =
   python apache_beam/examples/complete/autocomplete_test.py
   python setup.py nosetests
 
+[testenv:py35-pytest]
+setenv =
+  RUN_SKIPPED_PY3_TESTS=0
+commands =
+  python apache_beam/examples/complete/autocomplete_test.py
+  {toxinidir}/scripts/run_pytest.sh {envname} "{posargs}"
+
 [testenv:py36]
 setenv =
   RUN_SKIPPED_PY3_TESTS=0
 commands =
   python apache_beam/examples/complete/autocomplete_test.py
   python setup.py nosetests
 
+[testenv:py36-pytest]
+setenv =
 
 Review comment:
   From @robertwb on #9592:
   We should probably be using 
https://tox.readthedocs.io/en/latest/example/basic.html#compressing-dependency-matrix
 to avoid these kinds of omissions.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 313371)
    Time Spent: 6h 40m  (was: 6.5h)

> Consider moving away from nose to nose2 or pytest.
> --------------------------------------------------
>
>                 Key: BEAM-3713
>                 URL: https://issues.apache.org/jira/browse/BEAM-3713
>             Project: Beam
>          Issue Type: Test
>          Components: sdk-py-core, testing
>            Reporter: Robert Bradshaw
>            Assignee: Udi Meiri
>            Priority: Minor
>          Time Spent: 6h 40m
>  Remaining Estimate: 0h
>
> Per 
> [https://nose.readthedocs.io/en/latest/|https://nose.readthedocs.io/en/latest/,]
>  , nose is in maintenance mode.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to