aboutsummaryrefslogtreecommitdiff
path: root/test/script_loader.py
AgeCommit message (Collapse)Author
2021-12-01improve unit testing approachWojtek Kosior
Unit tests were moved to their own subdirectory. Fixtures common to many unit tests were moved to test/unit/conftest.py. A facility to execute scripts in page's global scope was added. A workaround was employed to present information about errors in injected scripts. Sample unit tests for regexes in common/patterns.js were added.
2021-12-01facilitate testing javascript functionsWojtek Kosior
Haketilo's .js files can now be loaded together with their dependencies and executed on a page opened in a selenium-driven Firefox instance.