2015-10-23 23 views
1

我正嘗試在全新Meteor項目中使用黃瓜(通過Velocity)。在Mac和Cloud 9 IDE上的新流星項目中設置Cucumber

meteor create cucetest 
cd cucetest 
meteor add xolvio:cucumber 
meteor 

我已經(使用meteor --port $IP:$PORT)嘗試這個在OS X埃爾卡皮坦10.11,並在一組全新的Cloud 9 IDE Ubuntu的虛擬機。

不幸的是,後加入的樣品特徵速度報告錯誤,以顯示出下面的黃瓜日誌:

[xolvio:cucumber] Bad response from Chimp server. 
{ statusCode: 200, 
    content: '', 
    headers: 
    { 'content-type': 'application/json; charset=utf-8', 
    'cache-control': 'no-cache', 
    'content-length': '0', 
    date: 'Fri, 23 Oct 2015 21:04:56 GMT', 
    connection: 'keep-alive' }, 
    data: null } 

有什麼我失蹤,因爲我渴望開始寫的功能,但不能讓黃瓜在我的Mac或Ubuntu開發機器上工作?

回答

0

抓住以下要點,我提出:

https://gist.github.com/ffxsam/30905336d8cb43ed7b4d

這是一個腳手架劇本我用每一個流星+陣營項目。不要介意它使用React,那部分是不相關的。你應該可以做到meteor run,黃瓜應該完美地工作(鏡子啓動需要一兩分鐘)。

如果有的話,你可以看看tests文件夾,看看應該如何設置。

+0

謝謝,會給它一個旋轉,看看會發生什麼。 – j3r3m7