A
A
Alexander Eliseev2015-06-08 15:29:41
Java
Alexander Eliseev, 2015-06-08 15:29:41

Is it possible to write cases for unit tests using Javadoc?

Can you please tell me if there are any frameworks that can make it possible to write test cases (like stories for bdd) directly in javadoc?
For example:

/**
 * @case given a=3 and b=4 returns 7
 */
 public int sum(int a, int b);

It will be great if you share more projects where this is used or say why it is bad.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question