|
@@ -4,7 +4,7 @@
|
4
|
4
|
![](http://demo05.cloudimage.io/s/resize/215/i.imgur.com/ggDZ3TQ.png)
|
5
|
5
|
![](http://demo05.cloudimage.io/s/resize/215/i.imgur.com/V6xFo00.png)
|
6
|
6
|
|
7
|
|
-
|
|
7
|
+[Verano 2016 - Ive]
|
8
|
8
|
|
9
|
9
|
As you have learned in previous labs, getting a program to compile is only a minor part of programming. The compiler will tell you if there are syntactical errors, but it isn't capable of detecting logical problems in your program. It's very important to test the program's functions to validate that they produce correct results.
|
10
|
10
|
|
|
@@ -27,7 +27,7 @@ Before you get to the laboratory you should have:
|
27
|
27
|
|
28
|
28
|
3. Studied the concepts and instructions for this laboratory session.
|
29
|
29
|
|
30
|
|
-4. Taken the Pre-Lab quiz available in Moodle.
|
|
30
|
+4. Taken the Pre-Lab quiz, available in Moodle.
|
31
|
31
|
|
32
|
32
|
---
|
33
|
33
|
|
|
@@ -153,10 +153,10 @@ void test_ageRange() {
|
153
|
153
|
|
154
|
154
|
---
|
155
|
155
|
|
156
|
|
-!INCLUDE "../../eip-diagnostic/testing/en/diag-testing-01.html"
|
|
156
|
+!INCLUDE "../../eip-diagnostic/testing/en/diag-testing-01.html"
|
157
|
157
|
<br>
|
158
|
158
|
|
159
|
|
-!INCLUDE "../../eip-diagnostic/testing/en/diag-testing-02.html"
|
|
159
|
+!INCLUDE "../../eip-diagnostic/testing/en/diag-testing-02.html"
|
160
|
160
|
<br>
|
161
|
161
|
|
162
|
162
|
---
|
|
@@ -284,7 +284,10 @@ This exercise **DOES NOT require programming**, you should make the tests **with
|
284
|
284
|
|
285
|
285
|
####Instructions
|
286
|
286
|
|
287
|
|
-1. Load the `Testing` project onto Qt by double clicking the `Testing.pro` file in the `Documents/eip/Testing` directory on your computer. You can also go to `http://bitbucket.org/eip-uprrp/testing` to downloaded the `Testing` folder on your computer.
|
|
287
|
+1. Load the project `Testing` into `QtCreator`. There are two ways to do this:
|
|
288
|
+
|
|
289
|
+ * Using the virtual machine: Double click the file `Testing.pro` located in the folder `/home/eip/labs/testing-testing` of your virtual machine.
|
|
290
|
+ * Downloading the project’s folder from `Bitbucket`: Use a terminal and write the command `git clone http:/bitbucket.org/eip-uprrp/testing-testing` to download the folder `testing-testing` from `Bitbucket`. Double click the file `Testing.pro` located in the folder that you downloaded to your computer.
|
288
|
291
|
|
289
|
292
|
2. Configure the project and run the program. You will see a window similar to the following:
|
290
|
293
|
|
|
@@ -340,9 +343,9 @@ Doing tests by hand each time you run a program is a tiresome task. In the previ
|
340
|
343
|
|
341
|
344
|
##Deliverables
|
342
|
345
|
|
343
|
|
-1. Use "Deliverables 1" in Moodle to hand in the table with the tests you designed in Exercise 1 and that you completed in Exercise 2 with the results from the function tests.
|
|
346
|
+1. Use "Deliverable 1" in Moodle to hand in the table with the tests you designed in Exercise 1 and that you completed in Exercise 2 with the results from the function tests.
|
344
|
347
|
|
345
|
|
-2. Use "Deliverables 2" in Moodle to hand in the `main.cpp` file that contains the `test_isALetter`, `test_isValidTime`, `test_gcd` functions and their calls. Remember to use good programming techniques, include the name of the programmers involved and document your program.
|
|
348
|
+2. Use "Deliverable 2" in Moodle to hand in the `main.cpp` file that contains the `test_isALetter`, `test_isValidTime`, `test_gcd` functions and their calls. Remember to use good programming techniques, include the name of the programmers involved and document your program.
|
346
|
349
|
|
347
|
350
|
---
|
348
|
351
|
|