You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
//
// G o o g l e _ K e e p U I T e s t s . s w i f t
// G o o g l e K e e p U I T e s t s
//
// C r e a t e d b y F l a v i e n H a a s o n 2 7 / 1 2 / 2 0 1 7 .
// C o p y r i g h t © 2 0 1 7 F l a v i e n H a a s . A l l r i g h t s r e s e r v e d .
//
import XCTest
class Google_KeepUITests : XCTestCase {
override func setUp ( ) {
super . setUp ( )
// P u t s e t u p c o d e h e r e . T h i s m e t h o d i s c a l l e d b e f o r e t h e i n v o c a t i o n o f e a c h t e s t m e t h o d i n t h e c l a s s .
// I n U I t e s t s i t i s u s u a l l y b e s t t o s t o p i m m e d i a t e l y w h e n a f a i l u r e o c c u r s .
continueAfterFailure = false
// U I t e s t s m u s t l a u n c h t h e a p p l i c a t i o n t h a t t h e y t e s t . D o i n g t h i s i n s e t u p w i l l m a k e s u r e i t h a p p e n s f o r e a c h t e s t m e t h o d .
XCUIApplication ( ) . launch ( )
// I n U I t e s t s i t ’ s i m p o r t a n t t o s e t t h e i n i t i a l s t a t e - s u c h a s i n t e r f a c e o r i e n t a t i o n - r e q u i r e d f o r y o u r t e s t s b e f o r e t h e y r u n . T h e s e t U p m e t h o d i s a g o o d p l a c e t o d o t h i s .
}
override func tearDown ( ) {
// P u t t e a r d o w n c o d e h e r e . T h i s m e t h o d i s c a l l e d a f t e r t h e i n v o c a t i o n o f e a c h t e s t m e t h o d i n t h e c l a s s .
super . tearDown ( )
}
func testExample ( ) {
// U s e r e c o r d i n g t o g e t s t a r t e d w r i t i n g U I t e s t s .
// U s e X C T A s s e r t a n d r e l a t e d f u n c t i o n s t o v e r i f y y o u r t e s t s p r o d u c e t h e c o r r e c t r e s u l t s .
}
}