this post was submitted on 09 Jul 2023
-3 points (43.5% liked)

Programming

17313 readers
346 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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!

[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 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.

[–] [email protected] 4 points 1 year ago (2 children)

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

[–] [email protected] 3 points 1 year ago (1 children)

Most of the time 100% code coverage is just a waste of time.

[–] [email protected] 3 points 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.

[–] [email protected] 1 points 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.

load more comments
view more: next ›