{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/dredd/issues/47","repository_url":"https://api.github.com/repos/apiaryio/dredd","labels_url":"https://api.github.com/repos/apiaryio/dredd/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/dredd/issues/47/comments","events_url":"https://api.github.com/repos/apiaryio/dredd/issues/47/events","html_url":"https://github.com/apiaryio/dredd/issues/47","id":28421810,"number":47,"title":"Dredd - API Blueprint Testing Tool. “Undefined” while testing","user":{"login":"imp-partner-test","id":6104007,"avatar_url":"https://avatars.githubusercontent.com/u/6104007?v=3","gravatar_id":"","url":"https://api.github.com/users/imp-partner-test","html_url":"https://github.com/imp-partner-test","followers_url":"https://api.github.com/users/imp-partner-test/followers","following_url":"https://api.github.com/users/imp-partner-test/following{/other_user}","gists_url":"https://api.github.com/users/imp-partner-test/gists{/gist_id}","starred_url":"https://api.github.com/users/imp-partner-test/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imp-partner-test/subscriptions","organizations_url":"https://api.github.com/users/imp-partner-test/orgs","repos_url":"https://api.github.com/users/imp-partner-test/repos","events_url":"https://api.github.com/users/imp-partner-test/events{/privacy}","received_events_url":"https://api.github.com/users/imp-partner-test/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apiaryio/dredd/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2014-02-27T14:17:42Z","updated_at":"2016-06-20T19:18:07Z","closed_at":"2014-03-12T16:11:24Z","body":"I installed dredd - API Blueprint Testing Tool and trying to test our APIary API against the implementation. \r\nIn the blueprint I have just one resource which is correctly implemented on somehost... but test fails :(\r\n\r\ntest command: dredd apiary.apib http://somehost.de:8443/imp-endpoint\r\noutput: Info: Beginning Dredd testing... undefined\r\n\r\nI tried also with more options to get more information what is undefined.. like -l verbose and some other options. But I did not get more information about the failure :( Does anyone have experience with it? Thank you!!! :)\r\n\r\n-------\r\nplatform - win, dredd - v0.2.1, test apib: https://www.dropbox.com/s/p9zexrj3g6htzlq/apiary.apib, test.sh: https://www.dropbox.com/s/vqn6gch91vwqc16/test.sh\r\non stackoverflow: http://stackoverflow.com/questions/21881988/dredd-api-blueprint-testing-tool-undefined-issue"},"comment":{"url":"https://api.github.com/repos/apiaryio/dredd/issues/comments/227241402","html_url":"https://github.com/apiaryio/dredd/issues/47#issuecomment-227241402","issue_url":"https://api.github.com/repos/apiaryio/dredd/issues/47","id":227241402,"user":{"login":"awesome","id":19291,"avatar_url":"https://avatars.githubusercontent.com/u/19291?v=3","gravatar_id":"","url":"https://api.github.com/users/awesome","html_url":"https://github.com/awesome","followers_url":"https://api.github.com/users/awesome/followers","following_url":"https://api.github.com/users/awesome/following{/other_user}","gists_url":"https://api.github.com/users/awesome/gists{/gist_id}","starred_url":"https://api.github.com/users/awesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesome/subscriptions","organizations_url":"https://api.github.com/users/awesome/orgs","repos_url":"https://api.github.com/users/awesome/repos","events_url":"https://api.github.com/users/awesome/events{/privacy}","received_events_url":"https://api.github.com/users/awesome/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T19:18:07Z","updated_at":"2016-06-20T19:18:07Z","body":"FWIW: Had this issue and fixed it with: https://www.npmjs.com/package/gulp-convert-newline . Formatted lined endings like:\r\n\r\n```javascript\r\n'use strict';\r\n\r\nvar gulp = require('gulp'),\r\n  concat = require('gulp-concat'),\r\n  config = require('./config/apib_config.js'),\r\n  // […]\r\n  soften = require('gulp-soften'),\r\n  template = require('gulp-template'),\r\n  convertNewline = require(\"gulp-convert-newline\");\r\n\r\nvar srcDir = './src/**/*.apib',\r\n  outDir = './build/',\r\n  outFile = 'output.apib';\r\n\r\ngulp.task('main', function() {\r\n  gulp.src(srcDir)\r\n    .pipe(template(config))\r\n    .pipe(soften(4))\r\n    .pipe(concat('output.apib'))\r\n\r\n    .pipe(convertNewline({\r\n      newline: \"lf\"\r\n    }))\r\n\r\n    .pipe(gulp.dest('./build/'));\r\n});\r\n```"}}
{"actor":{"display_login":"awesome"}}