testsuite.standard.js 493 B

123456789101112131415
  1. /**
  2. * Created by Estevao on 08-06-2015.
  3. */
  4. var bootstrap = require('./makemarkdown.bootstrap.js'),
  5. converter = new bootstrap.showdown.Converter(),
  6. assertion = bootstrap.assertion,
  7. testsuite = bootstrap.getTestSuite('test/functional/makemarkdown/cases/standard/');
  8. describe('makeMarkdown() standard testsuite', function () {
  9. 'use strict';
  10. for (var i = 0; i < testsuite.length; ++i) {
  11. it(testsuite[i].name.replace(/-/g, ' '), assertion(testsuite[i], converter));
  12. }
  13. });