Tagged Questions
13
votes
1answer
268 views
Are there any studies on the relationship between software testing practices and developer productivity?
Are there any studies on the relationship between software testing practices (unit and/or integration tests) and developer productivity?
8
votes
3answers
319 views
How to do external API testing (blackbox)
Assume you are using APIs from a vendor, how to make sure their API is working as expected?
My main concern is sometimes the vendor pushed the changes to their code and break the API, we want to have ...
7
votes
2answers
200 views
How do I know if I have enough unit test coverage to remove an integration test?
I'm working on a legacy system (by that I mean it was written without tests). We've tried to test some of the system by writing integration tests that test functionality from the outside.
This ...
6
votes
3answers
261 views
Non-transactional Database and Integration Testing
One issue I think I am going to run into with my integration testing is having multiple tests accessing the same database. While this is not a problem now, I know we have multiple applications here ...
5
votes
2answers
431 views
BDD to replace the test teams work - how best to do it?
The system we are developing, using .NET, is extremely large, complex, and some modules are poorly written. We have a large user acceptance test team that is aiming for 100% business scenario ...
4
votes
6answers
249 views
Why don't I see many unit test projects that bring up and tear down a DB? (ASP.NET MVC)
I see all the examples that demonstrate unit testing code and mocking the calls to the DB since you are not suppose to touch the DB. But it seems to me having a set up tasks that uses the actually ...
4
votes
2answers
238 views
Is there a point to unit tests that stub and mock everything public?
When doing unit tests the "proper" way, i.e. stubbing every public call and return preset values or mocks, I feel like I'm not actually testing anything. I'm literally looking at my code and creating ...
4
votes
3answers
394 views
Where should I draw the line between unit tests and integration tests? Should they be separate?
I have a small MVC framework I've been working on. It's code base definitely isn't big, but it's not longer just a couple of classes. I finally decided to take the plunge and start writing tests for ...
4
votes
1answer
328 views
How can I unit-test my REST web service?
I am new to unit testing, I've one REST web method that just calls DB and populates a DTO. Pseudo code is
public object GetCustomer(int id)
{
CustomerDTO objCust = //get from DB
return objCust;
}
...
3
votes
4answers
730 views
Introducing a (new) test method to a team
A couple of months ago I was hired in a new job. (I'm fresh out of my Masters in software engineering)
The company mainly consists of ERP consultants, but I was hired in their fairly small web ...
3
votes
3answers
513 views
Unit/Integration Testing my DAL
So I've done some research on this but I couldn't quite come to a conclusion, so I figured I'd ask you guys to see if I could get some other opinions.
All of my database access is currently done ...
3
votes
1answer
248 views
Looking for resources on TDD and BDD
I'm doing a presentation this week for Uni on the application of TDD and BDD. I'm trying to focus on types of code (such as algorithms, business logic or crud) and which methodology (if at any at all) ...
2
votes
4answers
337 views
Choosing names for integration tests
With unit tests the domain is quite small, so it's easy. I used Osherove's methodName_conditions_result() scheme and found it very clear.
But with integration tests I feel like it would make a very ...
2
votes
1answer
349 views
Difference between functional test and integration test
I am deeply confused the difference. I've read so many definitions and they always explain functional test as testing the requirement is satisfied. Well, that's just rephrasing the name functional ...
2
votes
1answer
445 views
How to unit test image processing code?
I'm working in image processing (mainly OCR) and I wonder how I should integrate unit tests in my development.
I'm already using unit tests for more "common" type of code but when dealing with image ...