English 中文(简体)
能否在不知情的情况下修改法典?
原标题:Is it possible for code to change without Git knowing about it?

今天上午,我进行了测试,有2次失败。 但是,我没有改动过几天的任何法典,所有测试都是经过的。

据Gite称,没有变化(覆盖面除外,数据是测试产出)。 gitk没有其他变化。

• 何时修改法典? 是否可能由SD失败/失败造成?

说明所发生的情况的最佳途径是什么?

EDIT:在Ruu就铁路公司测试框架开展工作。

最佳回答

首先,我总结一下测试失败的原因,这可能会给你一些影响,说明它们过去可能如何通过。 有时,它会产生时间问题、间歇性失败、试验利用以外的东西、数据变化、日期或时间的改变、各种障碍。

问题回答

我看到迈克找到了你的问题(用很少的回答箱子请)。

是的,可以在不知情的情况下修改法典。 造成这种故障的档案,或许是临时试验文件或固定装置,可以在电离层或(git/info/排斥)中加以忽略。 采用<代码>git Clean -dxf,将清除未知的 g。 <>代码>git 状况-ignored将显示被git忽略的档案。 如果是这样的话,你想在测试操作员中增加更好的清理测试。

对于邮局而言,这里的简短的检验方法清单是无法做到的,而没有出现任何可识别的改动。

  • "Temporary" test files and fixtures might be dirty.
  • "Temporary" databases and tables might be dirty.
  • It is sensitive to time or date.
  • It uses network resources and they changed.
  • The compiler was changed.
  • The installed libraries used were changed.
    • The libraries the libraries use were changed.
  • The kernel was changed.
  • Any servers used (databases, web servers, etc...) were changed.
  • It uses parallel processing and a subtle bug only occurs sometimes.
  • The disk (or the filesystem where temp files go) is full.
  • The disk (or the filesystem where temp files go) is broken.
  • Your memory/disk/process/filehandle quotas were reduced.
  • The machine has run out of memory.
  • The machine has run out of filehandles.
  • It uses fixtures with randomly generated data and generated some that tickled a bug.

你的存放处没有任何变化,而没有从Gitely那里了解情况,在某个地方进行伐木,因为需要找回这些记录,才能从任何途径获得邮袋档案。 我将检查一下,失败是由机器上的东西造成的,这种机器的运行与测试同时进行,或者可能是你不期望的种族条件。





相关问题
Selenium not working with Firefox 3.x on linux

I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my ...

Best browser for testing under Safari Mobile on Linux?

I have an iPhone web app I m producing on a Linux machine. What s the best browser I can use to most closely mimic the feature-limited version of Safari present on the iPhone? (It s a "slimmed down" ...

Code Coverage Tools & Visual Studio 2008 Pro

Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. We are using the built-in MS test project and unit testing tool (the one that come pre-installed ...

Is there any error checking web app cralwers out there?

Wondering if there was some sort of crawler we could use to test and re-test everything when changes are made to the web app so we know some new change didn t error out any existing pages. Or maybe a ...

热门标签