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

  • 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!

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

        I was going to say this is worst than AI generated text - but trying it out in GPT chat and I am disappointed, GPT chat is generally better informed than that. And yeah, it spits out nearly identical points and phrases so it is almost certainly AI generated.

        Kinda disappointed in GPTChat here TBH - I have used it a little bit and it generally creates better answers to questions then this. Though I guess I have not asked it to generate a blog post before. Really need to play around with it some more to tests its limits better.

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

          Is there a way to block a whole domain on Lemmy? I’ve blocked the user, but it’s interesting that the whole domain is the same crappy generated stuff. It’s so bad it’s bordering on being a hilarious parody of LLM’s, but doesn’t quite make it and so should be scrubbed from the Internet.

  • 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.