@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented public @interface Await
Annotate test method with @Await to verify database after the asynchronous test method executed. Annotate the whole test class to have all its test methods verify database asynchronously. For example:
@Test @Await public void myTestMethod { }
The datasets to be verified are located in exactly the same manner as when using the @Verify
annotation
and must conform to exactly the same format.
Use @Await.List
to define multiple @Await
annotations
on the same element.
See http://lightair.sourceforge.net/features/await.html for more info.
Verify
,
Await.List
public abstract String[] value
public abstract String profile
A profile lets you connect to a different database. A profile must be defined in LightAir properties file and must have its own properties file which defines the connection to the profile database.
Copyright © 2011–2020 Lastware, sro.. All rights reserved.