Created
July 7, 2018 15:26
-
-
Save Odepax/f43caabddf48adf51bb5a9ddbd19d6ba to your computer and use it in GitHub Desktop.
Who said manual testing couldn't be automated?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.odepax.another.webapp | |
import org.junit.jupiter.api.Test | |
import java.util.Calendar | |
class FrontEndDesignTests { | |
private val months = 60 * 60 * 24 * 30 | |
@Test | |
fun `displays correctly on all platforms`() { | |
assertManuallyTested( | |
lastTimeTested = Calendar.Builder().setDate(2018, 7, 7).build(), | |
expiresIn = 3 * months, | |
checkList = arrayOf( | |
"Check on any desktop", | |
"Check on Windows Phone", | |
"Check on Android", | |
"Check on iOS" | |
) | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment