"暂停"被忽略了 [英] "pause" being ignored

查看:156
本文介绍了"暂停"被忽略了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看了,我必须能够运行在我的网站使用一个命令所有的单元测试,所以我创建了一个bat文件来做到这一点。

I read that I must be able to run all unit tests in my site with a single command, so I created a bat file to do it.

即使结束前暂停,PHPUnit命令后,在屏幕上的单元测试闪烁的结果。

Even with pause before the end, after the phpunit command, the result of the unit tests flashes in the screen.

@echo off
cd c:\
cd xampp
cd htdocs
cd light
cd myworks
echo on
set /p site=The site:
set /p version=The version:
set /p location=The location:
phpunit "%site% v%version%/%location%"
pause

用java%文件夹%/%文件%我的另一个批处理文件运行Java软件,然后暂停。

My other batch file with java %folder%/%file% runs the java software, then pauses.

@echo off
cd c:\
cd Codes
cd 1st general - Head First Java
echo on
set /p folder=Type a folder:
set /p file=Type a file without extension:
java %folder%/%file%
pause

更新:它更容易运行单元测试SimpleTest的比在PHPUnit

UPDATE: it's much easier to run the unit tests with SimpleTest than with phpUnit.

推荐答案

尝试调用PHPUnit的...

这篇关于"暂停"被忽略了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆