File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/test/java/com/applitools/example Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -165,32 +165,34 @@ public void printResults() {
165165
166166 public static void main (String [] args ) {
167167
168- // Construct the test object
168+ // Construct the test object.
169169 AcmeBankTests tests = new AcmeBankTests ();
170170
171171 try {
172- // Safely perform setup
172+ // Safely perform setup.
173173 tests .setUpConfigAndRunner ();
174174 tests .openBrowserAndEyes ();
175175
176- // Run the test steps
176+ // Run the test steps.
177177 tests .logIntoBankAccount ();
178178 }
179179 catch (Exception e ) {
180+ // Dump any errors.
180181 e .printStackTrace ();
181182 }
182183
183184 try {
184- // No matter what, perform cleanup
185+ // No matter what, perform cleanup.
185186 tests .cleanUpTest ();
186187 tests .printResults ();
187188 }
188189 catch (Exception e ) {
190+ // Dump any errors and abort any remaining tests.
189191 e .printStackTrace ();
190192 tests .abortTests ();
191193 }
192194 finally {
193- // Always force execution to end
195+ // Always force execution to end.
194196 System .exit (0 );
195197 }
196198 }
You can’t perform that action at this time.
0 commit comments