Testing

由于以下多种原因,测试 cli 应用程序很困难:

Testing cli application is difficult due to various reasons:

  • 在不同的操作系统之间存在差异。

  • There are differences between OS’s.

  • 在操作系统中可能使用不同的 shell 实现。

  • Within OS there may be different shell implementations in use.

  • 进入到 shell 中并从 shell 中输出的内容可能与你在 shell 中看到的完全不同,这是由于控制字符的存在。

  • What goes into a shell and comes out from a shell my be totally different what you see in shell itself due to control characters.

  • Shell 可能感觉是同步的,但很有可能并非如此,这意味着当某事物被写入 shell 中时,你不能假设它之后的更新不是最终的更新。

  • Shell may feel syncronous but most likely it is not meaning when someting is written into it, you can’t assume next update in in it is not final.

测试支持目前正在开发中,并且各种部分将不稳定。

Testing support is currently under development and will be unstable for various parts.