Project

General

Profile

« Previous | Next » 

Revision 93dd7360

Added by koszko almost 2 years ago

improve unit testing approach

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.

  • added
  • modified
  • copied
  • renamed
  • deleted