This explains the White Box Testing which we use to test the internal structure or internal coding of an application or a programming component.

  • RandomDevOpsDude@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    It covers each and every line of the source code, each and every conditional statement in the program and every loop otherwise known as iteration in the program.

    I think it is important to note 100% code coverage (“covers each and every line”) does not mean the tests are good tests.

    The myth of 100% code coverage

      • nous@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Worst, 100% coverage leaves you without a tool that is helpful for finding places where your tests might be lacking. Code coverage reports can be used to improve tests, but are not an indication of good tests in of itself.

    • vampatori@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yep… I can get you 100% code coverage of a bug-laden, exploit-ridden piece of software effortless. It’s a useless measure.

  • nous@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    This is a poor article. It makes no sense. It does not describe what white box testing really is.

    It is different from the black box testing as the white box testing is not used to find missing functionality of a software

    Like what the hell is that even meant to mean?

    None of the advantages or disadvantages make any sense or related to whitebox testing at all. It is just words that are related to testing throwing around in hopes they mean something. Do not bother reading, it is not worth the effort to click on that link.

    • vampatori@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      This is surely AI generated, but even so it’s still awful and a decade or more behind the curve of what I’d expect from AI blog spam!