Skip to content

Suiteopensavvy.prepared.suite.annotationsTestEntrypoint

TestEntrypoint

@Target
(allowedTargets = [AnnotationTarget.FUNCTION])annotation class TestEntrypoint

Annotates functions that are test entrypoints.

These functions accept a first String parameter that is the name of the test or test suite.

These functions usually accept a last parameter that is the body of the test. It is assumed that a thrown exception means a test failure, and no thrown exceptions means a test success.