/
githubmirror
/
Multi-GPT
Обзор
Документация
Войти
/
githubmirror
/
Multi-GPT
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests.py
20 строк
437 B
younessZMZ
Adjust test_prompt_generator and add test report generation
15 апр 2023, 18:10
15 апр 2023, 18:10
0c1ff5d
Код
Авторство
О чём код?
import unittest import coverage if __name__ == "__main__": # Start coverage collection cov = coverage.Coverage() cov.start() # Load all tests from the 'autogpt/tests' package suite = unittest.defaultTestLoader.discover("./tests") # Run the tests unittest.TextTestRunner().run(suite) # Stop coverage collection cov.stop() cov.save() # Report the coverage cov.report(show_missing=True)