Add testing framework for ReviewBot tools
Review Request #10288 — Created Oct. 27, 2018 and discarded — Latest diff uploaded
Previously, we did not have tests for tools in Review Bot.
This change adds a framework for testing the output parsing logic of
the Review Bot tool classes. Additionally, some sample unit tests have
been added to demonstrate how I envision this framework being used.
Successfuly ran the unit tests (
./tests/runtests.py
).
.gitignore |
---|
bot/reviewbot/tests/runtests.py |
---|
bot/reviewbot/tools/tests/__init__.py |
---|
bot/reviewbot/tools/tests/flake8tests.py |
---|
bot/reviewbot/tools/tests/testcase.py |
---|