LAB 8th april

WHITE BOX

  1. Install java 6 :
    1. On the desktop, click "Installazione applicazioni"
    2. On the new window, on the right click on "Aggiungi applicazioni"
    3. Click on Java 6
  2. Launch eclipse_pmd_findbug -> w:\eclipse3.4_pmd_findbug\eclipse
  3. Download WhiteBoxTesting.zip from here
  4. Import the project in Eclipse: File -> Import -> General -> Archive file
  5. Write JUnit test cases (You find inside project a complete example : ConverterTest)
  6. Launch tests
  7. Verify code coverage in eclipse : Run -> Coverage Last Launched

CONFIGURATION MANAGEMENT

  1. Install tortoise :
    1. On the desktop, click "Installazione applicazioni"
    2. On the new window, on the right click on "Aggiungi applicazioni"
    3. Click on TortoiseSVN
    4. After installation is finished, a window will appear,asking for system restart:
      DON'T RESTART THE SYSTEM
  2. Create a folder , right click on it and click "Svn Checkout"
  3. The URL is : http://softeng.polito.it/repoStudents/testFolder/softwareEngineeringExercise
  4. Username and password will be asked:
    You will receive a group number X, and with respect to x, you have to use the following usernames/passwords :
  5. Open exercises here
  6. Try to reproduce similar situations to those ones described in the exercises, in order to be able to answer to the questions. In the folder in which you checked out, you can create any number of file or directory. please don't leave any lock closed on any file/dir
  7. Check solutions when they will be available here


LAB 25th march

BLACK BOX

  1. Watch fitness demo
  2. Install java 6
  3. Install and launch eclipse_pmd_findbug -> w:\eclipse3.4_pmd_findbug\
  4. Create new project
  5. Import jar black box into your build path project (In Eclipse, right click on project -> Properties -> Java Build Path -> Libraries -> Add jars )
  6. Write test case and test with fitness, as you learnt from demo