1

我正在使用数据砖笔记本。我创建了一个包含测试用例的 test_notebook.py。我开始使用下面的代码在另一个笔记本中执行

import pytest
pyargs = ['dbfs/FileStore/test_notebook.py']
pytest.main(pyargs)

我得到了所有测试用例的运行时间。如何在数据块笔记本本身中查看每个测试用例的运行时间?

4

0 回答 0