meteor-velocity

    1熱度

    1回答

    我正在閱讀在線書籍Meteor Testing,並且對於它如何說明您應該構建應用程序有點擔心。它說,在所謂的「應用程序」的全局命名空間創建一個對象,並追加子模塊根據需要,像這樣: App = { Services: { func1: [some function] func2: [some function] ... }, Coll

    1熱度

    1回答

    在我的流星應用程序,我有一個表格在/join與禁用按鈕。我測試這個禁用狀態下的集成測試文件: // tests/jasmine/client/integration/user/joinSpec.js.coffee describe 'user', -> describe 'join', -> beforeEach -> Router.go 'join_pat

    0熱度

    1回答

    我已經在流星項目上安裝和運行速度。 我遇到了cucumber-mink,我努力讓自己的場景能夠在黃瓜貂中定義的步驟上工作。 我加入黃瓜貂黃瓜依賴 { "name": "cucumber-tests", "version": "1.0.0", "description": "Dependencies for our Cucumber automation layer",

    2熱度

    2回答

    在使用Jasmine測試我的Meteor應用程序的某些功能之前,我必須爲測試準備不同的東西。因此我使用beforeAll塊。 重置數據庫 在數據庫中創建 講座在數據庫中創建一個問題 轉到剛創建講座的頁面 等待路由器來完成路由 這些異步任務必須串聯運行。我不能先到講座頁面,然後在數據庫中創建它。可悲的是,茉莉花beforeAll塊不會自動連續運行。 這是我當前的代碼: beforeAll(funct

    1熱度

    1回答

    確保蒙戈與--auth參數固定蒙戈後之後,我收到以下錯誤信息: MongoError: not authorized on mocha to execute command { listIndexes: "users", cursor: {} } 蒙戈是我的本地機器上的默認端口localhost:27017上。 谷歌和stackexchange搜索顯示沒有類似的,所以任何幫助,將不勝感激。 大概我

    0熱度

    1回答

    現在我有: Package.describe({ name: 'parlay:synapsepay', version: '0.0.1', summary: 'synapse_pay_rest for Meteor', git: 'https://github.com/parlaywithme/meteor-synapsepay', documen

    1熱度

    1回答

    我正嘗試在全新Meteor項目中使用黃瓜(通過Velocity)。 meteor create cucetest cd cucetest meteor add xolvio:cucumber meteor 我已經(使用meteor --port $IP:$PORT)嘗試這個在OS X埃爾卡皮坦10.11,並在一組全新的Cloud 9 IDE Ubuntu的虛擬機。 不幸的是,後加入的樣品

    2熱度

    2回答

    我有使用 meteor test-packages --velocity // result [[[[[ Tests ]]]]] => Started proxy. => Started MongoDB. => Started your app. => App running at: http://localhost:3000/

    0熱度

    1回答

    我正在Meteor的單元測試中掙扎。我想使用速度,茉莉花包,但我一定做錯了什麼。 。測試不要「噸似乎工作,因爲測試找不到代碼來測試測試項目可在github ,我想測試的代碼是在這裏: https://github.com/robvanpamel/coderepository/blob/master/meteor/sandwich-app/server/Services/SandwichServic

    1熱度

    1回答

    速度在30000和40000之間的隨機端口上創建鏡像 有沒有辦法設置鏡像監聽的端口? 我在不同的機器上運行流星,流星假設它應該連接到http://localhost:35723有沒有辦法設置它應該連接到的鏡像的主機? 例如,http://dev-machine:4000