mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
Structured testing folder.
Added manual testing doc.
This commit is contained in:
parent
78d90a4cf1
commit
4d1b75fb33
5 changed files with 10 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
Inside pre_commit_hooks/loaderon_hooks/tests/manual_testing you can find several finds which function is to allow
|
||||
quick manual testing of any developed hook.
|
||||
|
||||
runner.py is in charge of calling the main function of any hook file, and thus trigger that hook by passing
|
||||
a to-be-tested file as parameter. The hook will take that file and run it's checks, potentially allowing us to debug
|
||||
and therefore find possible problems.
|
||||
|
||||
testing_class.py is a to-be-tested file example, used to test check_class_docstring hook.
|
||||
|
||||
testing_view.xml is a to-be-tested file example, used to test check_view_name Odoo specific hook.
|
||||
Loading…
Add table
Add a link
Reference in a new issue