Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> python >> python3-nose-timer
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: python-nose-timer  ]

套件: python3-nose-timer (0.3.0-3)

timer plugin for nosetests - Python 3.x

A timer plugin for nosetests that answers the question: how much time does every test take? Run nosetests with the --with-timer flag, and you will see a list of the tests and the time spent by each one (in seconds):

 myapp.tests.ABigTestCase.test_the_world_is_running: 56.0010s
 myapp.tests.ABigTestCase.test_the_rest_of_the_galaxy_is_running: 2356.0010s

It is also possible to list the 10 slowest tests this way:

 nosetests --with-timer --timer-top-n 10

This package contains the Python 3.x module.

其他與 python3-nose-timer 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-nose
    test discovery and running for Python3 unittest
  • sug: python-nose-timer-doc
    套件暫時不可用

下載 python3-nose-timer

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 7.1 kB32 kB [文件列表]