mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-24 03:35:59 +08:00
API 测试框架
This commit is contained in:
8
run-test.bash
Normal file
8
run-test.bash
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
node node_modules/coffee-script/bin/coffee app.coffee &
|
||||
SERVER_PID="$!"
|
||||
sleep 1s
|
||||
node node_modules/coffee-script/bin/coffee TEST/API/init.coffee
|
||||
node node_modules/jasmine-node/bin/jasmine-node --junitreport TEST/API
|
||||
kill "$SERVER_PID"
|
||||
Reference in New Issue
Block a user