News for hackers. Stuff that matters.
Re:100% Bug Free Software with Mutation Testing by runako on Tuesday September 07, 2021 @03:07PM (#28448591)
The submitted headline makes bold claims not actually contained in the article. I would recommend using the original title instead: "Hunt The Bugs With Mutation Testing."
Re:100% Bug Free Software with Mutation Testing by julienmaring on Tuesday September 07, 2021 @05:09PM (#28449987)
I wanted to change to see if it will help me to reach more people. Do you think it's a problem? I'm new with hackernews
Re:100% Bug Free Software with Mutation Testing by gus_massa on Tuesday September 07, 2021 @06:42PM (#28450779)
The guidelines ask to use the original title https://news.ycombinator.com/newsguidelines.html There are some exceptions, when the title is a linkbait or not descriptive. Anyway, in general the dry titles are preferred here, people will complain otherwise.
Re:100% Bug Free Software with Mutation Testing by julienmaring on Tuesday September 07, 2021 @06:47PM (#28450825)
Very clear. Thanks for the clarification I'll be more careful next time
Re:100% Bug Free Software with Mutation Testing by julienmaring on Tuesday September 07, 2021 @06:48PM (#28450827)
Do you know if I can edit the original post?
Re:100% Bug Free Software with Mutation Testing by gus_massa on Wednesday September 08, 2021 @08:12AM (#28455916)
You can edit the title of the post for a time after it was submitted. Probably 2 hours, but I'm not sure. The interval may change from time to time.

Another possibility is to write to the mods and ask them to change it, in case you made a horrible mistake. But this is not horrible.

Just remember to use the original title next time you post something.

(Note that if you are the author and use as the original title something like "Totally amazing program that will blow your mind!!!" and use the original title here, people <bold>will</bold> complain.)

It looks like you are the author of the blog post and/or the developer of the software. Next time add a small comment explaining that and offering to answer questions. It's not mandatory, but sometimes people is more friendly if the submitter is the author and replies the questions in the thread.

Re:100% Bug Free Software with Mutation Testing by zyemuzu on Tuesday September 07, 2021 @03:14PM (#28448671)
The header text falls off the page on mobile, I consider that a bug.
Re:100% Bug Free Software with Mutation Testing by julienmaring on Tuesday September 07, 2021 @05:08PM (#28449972)
Just fixed it thanks :)
Re:100% Bug Free Software with Mutation Testing by adolgert on Tuesday September 07, 2021 @03:18PM (#28448710)
Mutation testing looks really fun until you use it. It has two problems, that false positives and false negatives abound, and that it doesn't scale well as code gets larger. Suppose you modify code, then how long does it take the mutation testing framework to retest the relevant code? On the other hand, mutations can do a good job of estimating test coverage. In particular, they can help to prioritize tests by finding tests that cover the most mutations.
Re:100% Bug Free Software with Mutation Testing by julienmaring on Tuesday September 07, 2021 @03:36PM (#28448900)
I agree with you! I only used it on a minor part of the code such as services. It can help people to understand why they are testing
Re:100% Bug Free Software with Mutation Testing by adolgert on Wednesday September 08, 2021 @02:56PM (#28461537)
"...understand why they are testing." That's interesting. There is an information-theoretic measure for test quality that asks how effective a test is by asking how closely it examines a test output. For instance, does it "smoke test" that the output isn't NULL, or does it look at a returned data structure and enforce invariants in detail. It's the flip-side of asking in how much detail a test exercises the code. Well, keep having fun. Testing is a great way to think about code.
Re:100% Bug Free Software with Mutation Testing by gus_massa on Wednesday September 08, 2021 @05:27PM (#28463284)
Another suggestion: Don't repost too much. A few repost are ok, https://news.ycombinator.com/newsfaq.html , but you reposted the same article 7 times in 2 days. Users will get angry and flag your posts, and the mods will notice and may ban your site and your account.

The rules are not clear about how often you can repost, but in my opinion it's like a week, perhaps 2 or 3 days. At most 1 per day, but 1 per day is too much for my taste.

Also, reposting the same article more than 5-10 times will make people complain...

Re:100% Bug Free Software with Mutation Testing by julienmaring on Wednesday September 08, 2021 @05:46PM (#28463461)
Do you know how I can write to the mods in order to remove my posts?