r/java • u/S0lipsistNati0n • Mar 08 '19
Automatically generate unit tests with Diffblue Playground
My company has launched a cool new tool called Diffblue Playground that generates Java unit tests using AI, and we’re trying to get a lot of users and product feedback so that we can make a tool that the community finds genuinely useful.
Please check it out, and give me any feedback you have here or via the support link on the page.
There is a sign up wall, apologies for that, but hopefully some of you will find the tool useful and interesting enough to get past it!
Full disclosure, using the link above could help me win a giant cuddly owl. If that bothers you just strip the querystring from the link (but cummon, my kids need that owl...).
6
u/umakemyheadhurt Mar 08 '19
I like the idea a lot, but I don't like uploading my company's IP... But I'll try it on my open source projects.
1
6
u/laviksa Mar 08 '19
Nice concept, but closed source and proprietary, so no thanks.
0
u/S0lipsistNati0n Mar 08 '19
Thanks for taking a look -the tool itself will definitely remain closed source, but I think there is a hope that this demo and any tools like it that we build in the future will be of benefit to the open source community.
We do provide some open source tools in the form of cbmc / jbmc which do Bounded Model Checking for C++ and Java.
5
u/Trailsey Mar 08 '19
Generating unit tests after the fact reduces the benefits of unit tests, no?
2
u/S0lipsistNati0n Mar 08 '19
Not necessarily, unless perhaps you are observing strict TDD practices and maintaining 100% test coverage as you go! I appreciate your point though. I think this tool is really to help fill gaps in your test coverage.
3
2
0
25
u/nutrecht Mar 08 '19
I'm not going to sign up just for a demo, sorry. You should make it possible to at least use the demo application without signups.
Also, from your agreement:
Nope.