tdd
TDD: why, how and real world test driven code
First, Please bear with me with all my questions. I have never used TDD before but more and more I come to realize that I should. I have read a lot of posts and how to guides on TDD but some things ar[详细]
2023-04-13 03:56 分类:问答How to mock JQuery with Jasmine?
How can I test that a certain JQuery selector has been executed with Jasmine? I\'m trying to do the following:[详细]
2023-04-12 18:24 分类:问答TDD Function Tests
Should I write unit test for all nested methods or if writing one test for ca开发者_JS百科ller is enough?[详细]
2023-04-12 16:44 分类:问答Is it possible to test a local value using a junit test?
Sometimes I would like to test an intermediate value in a metho开发者_运维技巧d. But the method can\'t be split.So I wonder if JUnit can only test a method as a unit.If I can put something like a brea[详细]
2023-04-12 16:12 分类:问答Best Option for Retrospective application of TDD into C# codebase
I have an existing framework consisting of 5 C# libraries, the framework is well used since 2006 and is the main code base to the majority of my projects. My company wishes to roll out TDD for reasons[详细]
2023-04-12 13:57 分类:问答How much memory for unit test suite is ok?
I have ~700 tests with ~1500 assertions, tests are running on sqlite on RAM drive. I run this using phpunit /dir/name, without any additional suite setup.[详细]
2023-04-12 11:30 分类:问答new test causes old tests to break, am I doing this wrong?
I have a unit tests that test if the first name of a baby is not supplied then don\'t save the baby, and another that if the first name is supplied then save should be c开发者_运维知识库alled. I did r[详细]
2023-04-12 10:07 分类:问答Can i use TDD in android developing process?
I am a newbie to android. And feels like TDD can reduce developing time a lot. But after learning android\'s junit test framework, find it a bit difficult to achieve the goal that write test before co[详细]
2023-04-11 22:15 分类:问答Confusion regarding Android and TDD
I\'m currently reading books and articles about Test Driven Development, both in the case of Android development and about TDD in general. I\'m a bit confused about testing the GUI.[详细]
2023-04-11 15:33 分类:问答Where putting logic to Approval user?
In my application got: Classes public class User { [Key] public Guid Id { get; set; } public string Name { get; set; }[详细]
2023-04-11 10:26 分类:问答