5
votes
Accepted
Testing interaction with proprietary software without a license
There's not much else that you can do on your own, but you may be able to get additional support from your client. In my experience, software vendors may offer licenses designed to support development....
4
votes
Accepted
In testing is making asserts in cleanup bad?
I am less concerned about DRY code in unit tests, and more concerned about the test clearly stating the intended behavior. Doc Brown has sensible advice, but I would prefer the assert in each test.
If ...
3
votes
Accepted
Manual Testing with OR condition/multiple valid entry points
No, you have two test cases: the behaviour may differ between the two, so you may want to declare one route as passing and the other failing.
The "problem" here occurs when you have multiple ...
3
votes
Accepted
Is it worth testing simple details?
Does worth testing simple details?
Maybe?
I get paid for code that works, not for tests, so my philosophy is to test as little as possible to reach a given level of confidence -- Kent Beck, 2008
...
3
votes
Mock a bean with 10 methods when I only use one?
A number of options come to mind:
Decompose ServiceTwo into an additional interface that ServiceTwo inherits from. This new parent interface would define the two methods that ServiceOne needs, or a ...
2
votes
Should Functional Testing of an application be part of an application project/build or a seperate project ran independetly
If your project uses a single repository, the answer is fairly uncomplicated: The functional end-to-end tests are logically a part of your project and for that reason they should live in the same ...
2
votes
In testing is making asserts in cleanup bad?
This is ok as long as
your test runner lets you still see easily which specific test caused the assertion to fail
the failing assertion does not prevent the cleanup of the resources up to the point ...
2
votes
Testing interaction with proprietary software without a license
Realistically, what you have described is all you can do.
But there's no need to try to reverse engineer the whole of an application that you don't have access to anyway.
All your functions need to is ...
2
votes
Is it worth testing simple details?
Every unit of implementation code is an asset. Every unit test is a line in your insurance policy.
You get to decide which assets are protected and how exactly how they're fixed or replaced when they ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
testing × 1416unit-testing × 446
tdd × 162
integration-tests × 125
java × 77
qa × 62
design × 58
continuous-integration × 51
acceptance-testing × 47
mocking × 44
programming-practices × 43
development-process × 43
c# × 42
quality × 39
python × 37
test-coverage × 34
functional-testing × 34
test-automation × 32
agile × 31
bdd × 30
php × 28
code-quality × 27
theory × 26
design-patterns × 25
architecture × 24