AI聊天机器人测试

先按照下面的提示来:

Running all the tests

You can run all of ChatterBot’s tests with a single command: tox.

Tox is a tool for managing virtual environments and running tests.

Installing tox

You can install tox with pip.

pip install tox


可以验证如下东西

When you run the tox command from within the root directory of the ChatterBot repository it will run the following tests:

  1. Tests for ChatterBot’s core files.
  2. Tests for ChatterBot’s integration with multiple versions of Django.
  3. Tests for each of ChatterBot’s example files.
  4. Tests to make sure ChatterBot’s documentation builds.
  5. Code style and validation checks (linting).
  6. Benchmarking tests for performance.
发表评论
留言与评论(共有 0 条评论) “”
   
验证码:

相关文章

推荐文章