New answers tagged unit-tests
Writing unit test on a legacy code is daunting task. Since you are just starting to implement unit test, its better to start simple and on new modules you are developing. Later you can apply the learnings on the older modules. The code should be in such a way it allows unit testing. Mainly the class you want to test should support mocking and external ...
Nunit has ActionAttributes which are similar conceptually to @DependsOn in TestNG. Simple version, you can have flows of tests depending on their outcomes. Caveat:- I generally don't recommend its usage as although in and of itself, it can be used appropriately, it can very quickly add to the complexity of the testing framework. Before you start using it, ...
Have you ever thought to use: Telerik Just Code: http://www.telerik.com/help/justcode/faq-how-to-use-unit-test-window.html or, Nunit: https://github.com/nunit/nunit/wiki Both of them can help you to add more control to you test runs.
I would only run the tests on a code change, better on each code change and not just in the night. You want to know which code change broke what test. In your case this would mean when you branch the code to a production version (which is a sort of code change) you run all the tests one more time and that is it. Only when you hot-fix the production code you ...
BVA and unit tests It depends on when and how the developer implements the unit test. If the developer writes the test first (as recommended by test driven development, TDD), it's a black box test, because he doesn't see the implementation. In that case, the test conditions can only be based on the software specification. If the developer writes a unit ...
Different terms ad terminologies have different meaning to people. It depends on an individual's understanding and thought process as to how they perceive, understand, accept and use terminologies, methods, processes or anything for that matter. Why don't you describe here what Boundary Value Analysis means to you and why?
Top 50 recent answers are included