Continuous integration testing server: hosted, own desktop, or own server
For testing, I am planning to run a continuous integration testing. There are mainly two options: hosted, or own desktop/server. I will break it into 3 options I have:
Mocking complex data operations in integration tests
We have some problems figuring out how to mock complex data and operations on it.
Mocking complex data operations in integration tests
We have some problems figuring out how to mock complex data and operations on it.
I have 200k lines of poorly designed code, will units tests or integration tests be more valuable? [duplicate]
This question already has answers here: I’ve inherited 200K lines of spaghetti code — what now? (19 answers) What is the most effective way to add functionality to unfamiliar, structurally unsound code? [duplicate] (7 answers) Closed 11 years ago. I’ve inherited a lot of poorly designed code; the code has no tests. I am putting […]
I have 200k lines of poorly designed code, will units tests or integration tests be more valuable? [duplicate]
This question already has answers here: I’ve inherited 200K lines of spaghetti code — what now? (19 answers) What is the most effective way to add functionality to unfamiliar, structurally unsound code? [duplicate] (7 answers) Closed 11 years ago. I’ve inherited a lot of poorly designed code; the code has no tests. I am putting […]
What would be negative test case for this scenario?
Let’s say we have some requirements
What would be negative test case for this scenario?
Let’s say we have some requirements
What would be negative test case for this scenario?
Let’s say we have some requirements
Should I skip unit tests if integration tests cover the same scenarios?
I have a service method called acceptOrDenyJoinRequest that follows a logic similar to this flowchart (green boxes are ignored in code, and the light gray box calls an external service). According to Martin Fowler’s article on the testing pyramid, unit tests should cover all non-trivial code paths, and integration tests should be written for pieces of code that interact with external systems, like databases.
Should I skip unit tests if integration tests cover the same scenarios?
I have a service method called acceptOrDenyJoinRequest that follows a logic similar to this flowchart (green boxes are ignored in code, and the light gray box calls an external service). According to Martin Fowler’s article on the testing pyramid, unit tests should cover all non-trivial code paths, and integration tests should be written for pieces of code that interact with external systems, like databases.