Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1334

Improve the random bug pytest plugin: display the run number

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 4.0.0
    • Component/s: Tests

      Description

      When repeating a test, we can see those kind of lines:

      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED
      

      A little improvement would display the run number like:

      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED  1/10
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED  2/10
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED  3/10
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED  4/10
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED  5/10
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED  6/10
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED  7/10
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED  8/10
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED  9/10
      tests/test_remote_deletion.py::TestRemoteDeletion::test_synchronize_remote_deletion_while_download_file REPEATED 10/10
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m