1.2.2 • Published 5 years ago

ui-tester v1.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

tester

A simple web unit tester

Usage

Put this code to your testing HTML files.

Tester.feedback( true || false );

e.g.

<!-- test-plus.html -->
<script src="bower_components/tester/tester.js"></script>
<script>
var plus = function(a ,b) {
  return a + b;
};

Tester.feedback(plus(1, 2) === 3);
</script>

Use Tester.run to execute your testing HTML files in a summary file.

<!-- test.html -->
<script src="bower_components/tester/tester.js"></script>
<script>
Tester.run('test-plus.html');
</script>
1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

6 years ago

1.1.4

7 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago