c755287ba8
-- * Added unittests to be run inside a Browser. To be able to access the non-exposed functions and classes, a testing bundle will be created, containing the tests (unittests.js) and the items to be tested. * src/Helpelpers, src/Key, src/Keyring: fixed some errors found during testing.
14 lines
536 B
Plaintext
14 lines
536 B
Plaintext
Test extension:
|
|
|
|
The test extension contains tests with mocha and chai. It will be packed as an
|
|
extra extension (see build_extension.sh).
|
|
|
|
Tests from BrowserTestExtension/tests will be run against the gpgmejs.bundle.js
|
|
itself. They aim to test the outward facing functionality and API.
|
|
|
|
Unittests as defined in ./unittests.js will be bundled in
|
|
gpgmejs_unittests.bundle.js, and test the separate components of gpgmejs,
|
|
which mostly are not exported.
|
|
|
|
The BrowserExtension can be installed the same way as the DemoExtension
|
|
(see README). |