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.
26 lines
717 B
HTML
26 lines
717 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link href="libs/mocha.css" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
<h3>Browsertest</h3>
|
|
<div id="mocha"></div>
|
|
<!-- load unit tests -->
|
|
<script src="libs/mocha.js"></script>
|
|
<script src="libs/chai.js"></script>
|
|
<script src="setup_testing.js"></script>
|
|
<script src="libs/gpgmejs.bundle.js"></script>
|
|
|
|
<script src="tests/inputvalues.js"></script>
|
|
<script src="libs/gpgmejs_unittests.bundle.js"></script>
|
|
<!-- insert tests here-->
|
|
<script src="tests/startup.js"></script>
|
|
<script src="tests/encryptTest.js"></script>
|
|
|
|
<!-- run tests -->
|
|
<script src="runbrowsertest.js"></script>
|
|
</body>
|
|
</html>
|