Changes between Initial Version and Version 1 of LabSimStatus_systest


Ignore:
Timestamp:
03/17/2019 05:47:06 PM (7 years ago)
Author:
jdalbey
Comment:

V1

Legend:

Unmodified
Added
Removed
Modified
  • LabSimStatus_systest

    v1 v1  
     1 
     2Integration Testing of CADSimulator 
     3 
     4This is an individual lab. You may not discuss any aspect of it with other students. 
     5 
     6Goal: Write an automated integration test (using JUnit and UISpec4J) to verify that simulation status shows "Ready" in the GUI after a script has been loaded. 
     7 
     8The overall approach: 
     9 
     10Prepare config and script files as needed. 
     11 
     12Create an instance of CADSimulator, not the model or anything else. Don't call the main() method. 
     13 
     14With UISpec4J grab the value of the simulation status field and verify that it says "No Script". 
     15 
     16Using the CADSimulator instance, obtain a reference to the Coordinator and invoke a method to load a script file. 
     17 
     18With UISpec4J grab the value of the simulation status field and verify that it says "Ready". 
     19 
     20Submission: Submit your JUnit test class to PolyLearn.