Execute test code on object

4.0
Execute test code on object
0
Tags: #<Tag:0x00007f4a08e2ec68>

(scampano) #1

If you want to automate some tests, or simply try some piece of code, there is a handy function that you can use:

@Override
public String unitTests() {
	AppLog.info(getClass(), "unitTests", "==========TEST==========", getGrant());
	return null;
}

It will only be called by executing this action available at the object definition: