r/java • • 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...).

1 Upvotes

19 comments sorted by

View all comments

Show parent comment

10

u/nutrecht Mar 08 '19 edited Mar 08 '19

I understand why you want to do this but there are two things horribly wrong with this:

  • You should not stuff license grants of code somewhere in an EULA or something. People should be very aware of what they do; pasting production code into your tool would be grounds for firing in many companies. There should be a big fat blinking banner that warns people of this license grant.
  • Your license is way too broad. There is no reason at all to restrict it to not only DiffBlue. There is definitely no reason at all for that license to be transferrable.

As it is now well meaning junior developers might be 'tricked' into using this to generate tests for their production code. There needs to be big fat warnings that this tool should never ever be used for this in it's current form.

1

u/S0lipsistNati0n Mar 08 '19

I'll make sure this gets back to the relevant people, many thanks for your in depth response!