Automated tests consist of test scripts that are performed by a machine. In general, these scripts are written by qualified developers or testers. They can be very different in complexity and require different machine resources.
An example can be a simple method that equals two values, as shown in the following example:
class Tests {
@Test
fun testMethod() {
assertEquals(3, 1 + 2)
}
}
The preceding example uses JUnit (https://junit.org/junit5/), which is a framework used by Java developers for unit testing.