Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 882265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:24:03+00:00 2026-05-15T12:24:03+00:00

Sometimes integration tests are rather complex to write or developers have no enough time

  • 0

Sometimes integration tests are rather complex to write or developers have no enough time to check output – does it make sense to write tests that make sure “no exceptions are thrown” only? Such tests provide some input parameters set(s) and doesn’t check the result, but only make sure code not failed with exception?

May be such tests are not very useful but appropriate in situations when you have no time?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T12:24:04+00:00Added an answer on May 15, 2026 at 12:24 pm

    An integration test is basically the same as a unit test albeit more complex more involving due to the significant extra components. Unit tests are all about providing some inputs and asserting some results be they values or exceptions etc. The same should be applied to your integration tests. At worst at least test that the actual outcome makes sense instead of just assuming no exceptions means its ok. Such an assumption is extremely poor practice and smells of laziness or perhaps lack of thought about the approach.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sometimes I have to check for some condition that doesn't change inside a loop,
Sometimes I'm going nuts over different query execution plans in development, integration tests, and
I have successful FB Credits integration, which receives many requests per day. But sometimes
My unit/integration tests includes tests for search functionality. My idea is to have empty
Sometimes I heard people discussing about the start-up time for Java. It seems this
Sometimes I want to have temporary comments fully left justified on a line (//)
When I write tests for certain types of objects, such as UI elements like
I'm writing some integration test with plone.app.testing. Sometimes I want to print something to
What I have to do I'm trying to manipulate some rather large amounts of
I have a file that uses CR/LF to separate records, but individual records sometimes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.