05 2017 档案

摘要:by GlenFord J. Myers(U.S.A) 测试是为发现错误而执行程序的过程 软件测试心理学 人类的行为总是倾向于具有高度目标性,建议一个正确的目标有重要的心理学影响,如果我们的目标在于证明程序中的错误,那我们设计的测试数据就会发现更多的问题, 反之,则相反。 如果在测试阶段发现了错误并 阅读全文
posted @ 2017-05-28 21:11 木易小邪 阅读(188) 评论(0) 推荐(0)
摘要:Drop-in replacement is a term used in computer science and other fields. It refers to the ability to replace one hardware (or software) component with 阅读全文
posted @ 2017-05-26 16:32 木易小邪 阅读(577) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef DEBUG #define debug(fmt, args...) printf(fmt, ##args) #else #define debug(fmt, args. 阅读全文
posted @ 2017-05-24 11:51 木易小邪 阅读(282) 评论(0) 推荐(0)
摘要:有六大要素 1. 功能性 2. 可靠性(稳定性,压力) 3. 效率(性能) 4. 易用性 5. 可移植性(兼容性) 6. 可维护性 阅读全文
posted @ 2017-05-22 18:12 木易小邪 阅读(330) 评论(0) 推荐(0)
摘要:各种有用的三方库总结: https://awesome-python.com/#algorithms-and-design-patterns 阅读全文
posted @ 2017-05-18 17:19 木易小邪 阅读(276) 评论(0) 推荐(0)
摘要:背景 有一些任务,可能事先需要设置,事后做清理工作。对于这种场景,Python的with语句提供了一种非常方便的处理方式。 with如何工作? 紧跟with后面的语句被求值后,返回对象的 __enter__() 方法被调用,这个方法的返回值将被赋值给as后面的变量。 当with后面的代码块全部被执行 阅读全文
posted @ 2017-05-18 15:24 木易小邪 阅读(13648) 评论(0) 推荐(1)