testsuite.karlcow.js 555 B

12345678910111213141516
  1. /**
  2. * Created by Estevao on 08-06-2015.
  3. */
  4. var bootstrap = require('./makehtml.bootstrap.js'),
  5. converter = new bootstrap.showdown.Converter({noHeaderId: true}),
  6. assertion = bootstrap.assertion,
  7. testsuite = bootstrap.getTestSuite('test/functional/makehtml/cases/karlcow/');
  8. //MD-Testsuite (borrowed from karlcow/markdown-testsuite)
  9. describe('makeHtml() karlcow testsuite', function () {
  10. 'use strict';
  11. for (var i = 0; i < testsuite.length; ++i) {
  12. it(testsuite[i].name.replace(/-/g, ' '), assertion(testsuite[i], converter));
  13. }
  14. });