Till KTH:s startsida Till KTH:s startsida

Nyhetsflöde

Logga in till din kurswebb

Du är inte inloggad på KTH så innehållet är inte anpassat efter dina val.

I Nyhetsflödet hittar du uppdateringar på sidor, schema och inlägg från lärare (när de även behöver nå tidigare registrerade studenter).

Januari 2023
under Allmänt

Lärare Karl Meinke skapade sidan 19 november 2013

Karl Meinke taggade med literature. 19 november 2013

Lärare Karl Meinke ändrade rättigheterna 10 november 2016

Kan därmed läsas av alla och ändras av lärare.
En användare har tagit bort sin kommentar
kommenterade 17 januari 2017

A second edition of Introduction to Software Testing was released last month (see the webpage: https://cs.gmu.edu/~offutt/softwaretest/). The differences between the editions are described on page 13 and onwards in this pdf: http://assets.cambridge.org/97811071/72012/frontmatter/9781107172012_frontmatter.pdf

Which edition is preferred for this course? Kårbokhandeln only has the first edition, but the second edition is available from Adlibris: http://www.adlibris.com/se/bok/introduction-to-software-testing-9781107172012

Lärare kommenterade 17 januari 2017

There is a second edition of this book. I am still waiting for a copy from the publishers so I have not seen it to comment.

It is usually best to get the latest edition of any book.

kommenterade 27 januari 2017

Post about Oracle Testing, an introduction to the Oracle Problem.

http://kaner.com/?p=190

Karl Meinke redigerade 9 januari 2019

Course Book P. Ammann and J. Offutt, Introduction to Software Testing, Cambridge University Press, 2nd Edition, 2017, ISBN 978-1-107-17201-2

Additional literature You may like to do further background reading, during the course or at a later date. The following texts can be recommended:


* G. Fraser et al., Testing with model checkers: a Survey, 2007.
* Model-based testing: M. Utting and B. Legeard, Practical Model-Based Testing: a Tools Approach, Morgan Kaufmann, 2007.
* Context-driven school of testing: C. Kaner, J. Bach, B. Pettichord, Lessons Learned in Software Testing, a Context-Driven Approach, Wiley, 2001.
* Quality school of testing: E. Kit, Software Testing in the Real World, Addison Wesley, 1995.
* Standards school of testing: W. Hetzel, The Complete Guide to Software Testing, Wiley, 1993.
* Agile school of testing: L. Crispin and J. Gregory, Agile Testing: A Practical Guide for Testers and Agile Teams, Addison Wesley, 2009.
Links

A survey of software failures in 2018. How many of these could have been avoided by better testing?¶

Here is a link to the JML syntax definition.

Here is a nice youtube video about the Toyota unintended acceleration case by Phil Koopman

https://www.youtube.com/watch?v=NCTf7wT5WR0

.

Karl Meinke redigerade 22 januari 2021

Course Book P. Ammann and J. Offutt, Introduction to Software Testing, Cambridge University Press, 2nd Edition, 2017, ISBN 978-1-107-17201-2. As a KTH student, you should be able to download a free .pdf copy of this from KTH Library.

Additional literature You may like to do further background reading, during the course or at a later date. The following texts can be recommended:


* Y. Lei et al. IPOG: A General Strategy for T-Way Software Testing, ECBS '07, IEEE.
* G. Fraser et al., Testing with model checkers: a Survey, 2007.
* Model-based testing: M. Utting and B. Legeard, Practical Model-Based Testing: a Tools Approach, Morgan Kaufmann, 2007.
* Context-driven school of testing: C. Kaner, J. Bach, B. Pettichord, Lessons Learned in Software Testing, a Context-Driven Approach, Wiley, 2001.
* Quality school of testing: E. Kit, Software Testing in the Real World, Addison Wesley, 1995.
* Standards school of testing: W. Hetzel, The Complete Guide to Software Testing, Wiley, 1993.
* Agile school of testing: L. Crispin and J. Gregory, Agile Testing: A Practical Guide for Testers and Agile Teams, Addison Wesley, 2009.
* Code Coverage and Test Automation: State of the Art, Karl Meinke, 2020
Links

Lecture 1: An IEEE survey of software failures in 2018. How many of these could have been avoided by better testing?

Lecture 1: Here is an interesting youtube video about the Toyota unintended acceleration case by Phil Koopman

Lecture 3: Here is a link to a JUnit tutorial on Tutorialspoint.

Lecture 4, Lab 2: Here is a detailed tutorial about JML. Here is a link to the JML syntax definition.

.

Karl Meinke redigerade 11 januari 2023

Course Book P. Ammann and J. Offutt, Introduction to Software Testing, Cambridge University Press, 2nd Edition, 2017, ISBN 978-1-107-17201-2. As a KTH student, you should be able to download a free .pdf copy of this from KTH Library.

Additional literature You may like to do further background reading, during the course or at a later date. The following texts can be recommended:


* Y. Lei et al. IPOG: A General Strategy for T-Way Software Testing, ECBS '07, IEEE.
* G. Fraser et al., Testing with model checkers: a Survey, 2007.
* Model-based testing: M. Utting and B. Legeard, Practical Model-Based Testing: a Tools Approach, Morgan Kaufmann, 2007.
* Context-driven school of testing: C. Kaner, J. Bach, B. Pettichord, Lessons Learned in Software Testing, a Context-Driven Approach, Wiley, 2001.
* Quality school of testing: E. Kit, Software Testing in the Real World, Addison Wesley, 1995.
* Standards school of testing: W. Hetzel, The Complete Guide to Software Testing, Wiley, 1993.
* Agile school of testing: L. Crispin and J. Gregory, Agile Testing: A Practical Guide for Testers and Agile Teams, Addison Wesley, 2009.
* Code Coverage and Test Automation: State of the Art, Karl Meinke, 2020
Links

Lecture 1: An IEEE survey of software failures in 2018. How many of these could have been avoided by better testing?

Lecture 1: Here is an interesting youtube video about the Toyota unintended acceleration case by Phil Koopman

Lecture 3: Here is a link to a JUnit tutorial on Tutorialspoint.

Lecture 4, Lab 2: Here is an interesting youtube video about JML. Here is a very detailed tutorial about JML. Here is a link to the JML syntax definition.

.

Karl Meinke redigerade 12 januari 2023

Course Book P. Ammann and J. Offutt, Introduction to Software Testing, Cambridge University Press, 2nd Edition, 2017, ISBN 978-1-107-17201-2. As a KTH student, you should be able to download a free .pdf copy of this from KTH library.

Additional literature You may like to do further background reading, during the course or at a later date. (e.g. in your first testing job).¶

A highly recommended complement to Ammann and Offutt is:¶

R. Bierig, S. Brown, E. Galvan and J. Timoney, Essentials of Software Testing, Cambridge University Press, 1st edition, 2022. ¶

The strength of this book is its hands-on approach to show you how to apply the most basic theoretical approaches, such as: boundary value, partition and random testing in real life.¶



The following texts can also be recommended for more specialist testing topics:


* Y. Lei et al. IPOG: A General Strategy for T-Way Software Testing, ECBS '07, IEEE.
* G. Fraser et al., Testing with model checkers: a Survey, 2007.
* Model-based testing: M. Utting and B. Legeard, Practical Model-Based Testing: a Tools Approach, Morgan Kaufmann, 2007.
* Context-driven school of testing: C. Kaner, J. Bach, B. Pettichord, Lessons Learned in Software Testing, a Context-Driven Approach, Wiley, 2001.
* Quality school of testing: E. Kit, Software Testing in the Real World, Addison Wesley, 1995.
* Standards school of testing: W. Hetzel, The Complete Guide to Software Testing, Wiley, 1993.
* Agile school of testing: L. Crispin and J. Gregory, Agile Testing: A Practical Guide for Testers and Agile Teams, Addison Wesley, 2009.
* Code Coverage and Test Automation: State of the Art, Karl Meinke, 2020
Links

Lecture 1: An IEEE survey of software failures in 2018. How many of these could have been avoided by better testing?

Lecture 1: Here is an interesting youtube video about the Toyota unintended acceleration case by Phil Koopman

Lecture 3: Here is a link to a JUnit tutorial on Tutorialspoint.

Lecture 4, Lab 2: Here is an interesting youtube video about JML. Here is a very detailed tutorial about JML. Here is a link to the JML syntax definition.

.

Karl Meinke redigerade 30 januari 2023

Course Book P. Ammann and J. Offutt, Introduction to Software Testing, Cambridge University Press, 2nd Edition, 2017, ISBN 978-1-107-17201-2. As a KTH student, you should be able to download a free .pdf copy of this from KTH library.

Additional literature You may like to do further background reading, during the course or at a later date (e.g. in your first testing job).

A highly recommended complement to Ammann and Offutt (but not necessary for the course) is:

R. Bierig, S. Brown, E. Galvan and J. Timoney, Essentials of Software Testing, Cambridge University Press, 1st edition, 2022.

The strength of this book is its hands-on approach to show you how to apply the most basic theoretical approaches, such as: boundary value, partition and random testing in real life.

The following texts can also be recommended for more specialist testing topics:


* Y. Lei et al. IPOG: A General Strategy for T-Way Software Testing, ECBS '07, IEEE.
* G. Fraser et al., Testing with model checkers: a Survey, 2007.
* Model-Based Testing Essentials - Guide to the ISTQB Certified Model-Based Tester: Foundation Level, Model-based testing: Kramer, Anne ; Legeard, Bruno ; Bazzana, Gualtiero ; Binder, Robert V, John Wiley and Sons, 2016, download a free .pdf copy of this from KTH library.
* Context-driven school of testing: C. Kaner, J. Bach, B. Pettichord, Lessons Learned in Software Testing, a Context-Driven Approach, Wiley, 2001.
* Quality school of testing: E. Kit, Software Testing in the Real World, Addison Wesley, 1995.
* Standards school of testing: W. Hetzel, The Complete Guide to Software Testing, Wiley, 1993.
* Agile school of testing: L. Crispin and J. Gregory, Agile Testing: A Practical Guide for Testers and Agile Teams, Addison Wesley, 2009.
* Code Coverage and Test Automation: State of the Art, K. Meinke, 2021
Links

Lecture 1: An IEEE survey of software failures in 2018. How many of these could have been avoided by better testing?

Lecture 1: Here is an interesting youtube video about the Toyota unintended acceleration case by Phil Koopman

Lecture 3: Here is a link to a JUnit tutorial on Tutorialspoint.

Lecture 4, Lab 2: Here is an interesting youtube video about JML. Here is a very detailed tutorial about JML. Here is a link to the JUML syntax definition.

.

 
under Allmänt

Lärare Karl Meinke skapade sidan 19 november 2013

Karl Meinke taggade med labs. 19 november 2013

kommenterade 3 februari 2014

Hi!

Has the submission deadline for exercise 1 been set yet? Do we hand it in by email?

Lärare kommenterade 3 februari 2014

We will go through lab 1 at the next övning on Thursday. You should bring with you a hard copy of your lab 1 and hand it in at the end. 

Without this you will have no way to self assess your own work.

regards KM

kommenterade 4 februari 2014

Hi,

it would be great if the TBA part could be filled in. It was just pure luck that I spotted this message and a 2 days heads up is a little short in my opinion. 
I don't know if the deadline has been stated somewhere else but I think many just see the TBA-part and look no further believing there is lots of time left. Knowing the deadlines before hand also helps planning alot.
Thx in advance

/regards Mathias

Lärare kommenterade 4 februari 2014

Formally there is no deadline for these labs. However you cannot complete the course without submitting your work.

Also if you wish to self assess your own work (optional), you need to complete it before the övning class the following week. At each övning I go through some ideas for solutions.

I have tried to made this clear in lectures I think. regards

Karl

kommenterade 4 februari 2014

That's great news, that's it not a hard deadline.
It's fine to mention it in the lectures but if there is a course homepage with information, all information should be available there. If there is some information here and some other insider information at lectures, unnecessary mistakes can and will be made. 

/regards Mathias

Guillermo Rodriguez Cano redigerade 24 februari 2014

Lab Contents Submission deadline Lab 1

Exercise sheet 1

End of Period 3 Lab 2

Exercise sheet 2

End of Period 3 Lab 3

Exercise sheet 3

(b) instructions.pdf (c) bitshift.smv (c) carcontroller.smv

(d) examples.zip  NOTE 5 documents!

End of Period 3 To pass the course you must complete and submit all lab assignmentsLab 4¶

Exercise sheet 4 (optional)¶

(b) exercise-skeleton.zip¶

End of Period 3 To pass the course you must complete and submit lab 1, 2 and 3 assignments.¶

Lab 4 is an optional lab (more information about grading soon to be given by Karl in class and posted here)
.

kommenterade 14 mars 2014

Hi,

I would like to know how we could submit any unsubmitted labs until the end of the period. Can we hand them in at CSC or do we have to meet you in person?Thank you in advance.

regards

Ioannis

Lärare kommenterade 14 mars 2014

Hi, you can put hard copies of your work in my mail tray on level 4 of the CSC building at any time. 

Thanks

KM

Lärare Karl Meinke ändrade rättigheterna 15 januari 2015

Kan därmed läsas av alla och ändras av lärare.

Karl Meinke taggade med exercises. 15 januari 2015

kommenterade 18 februari 2015

Maybe it's my bad, but I cannot find the "microwave oven specification" to which is referred to in lab 3 in the slides of lecture 6. Could you please clarify, where the information can be found? Thank you.

Lärare kommenterade 18 februari 2015

Yes, you are right. This part of the course has been edited. I will go over the material in the next lecture. I will also put up some slides on this site.

Thanks for drawing it to my attention.

kommenterade 26 februari 2015

So, the Microwave is removed from the lab?

Lärare kommenterade 26 februari 2015

Yes, we didn't get time for that part of the course this year. Please just skip over it in lab 3.

En användare har tagit bort sin kommentar
En användare har tagit bort sin kommentar
En användare har tagit bort sin kommentar
kommenterade 15 februari 2016

Regarding lab 2, has anyone managed to make JML work with Eclipse for Ubuntu? When compiling JML runtime checks, the following error message is presented:

/home/mikael/.eclipse/org.eclipse.platform_3.8_155965261/configuration/org.eclipse.osgi/bundles/210/1/.cp/java6/java/lang/Class.jml:31: error: The method java.lang.Class.Class() is a Java method (neither ghost nor model) but does not match any methods in the corresponding Java class.
    private Class();

kommenterade 15 februari 2016

If anyone else is having the same problem, the solution was to use JRE7 instead of 8, and to not use OpenJDK.

Karl Meinke redigerade 24 februari 2016

Lab

Contents Submission deadline Lab 1

(a) Exercise Sheet 1

End of Period 3 Lab 2

(a) Exercise sheet 2

End of Period 3 Lab 3

(a)  Exercise sSheet 3

(b) Instructions.pdf (c) bitshift.smv (d) carcontroller.smv

(e) examples.zip  NOTE 5 documents!

End of Period 3 You can find the lab rooms with this lab room map

To pass the course you must complete and submit lab 1, 2 and 3 assignments.

kommenterade 24 februari 2016

Hey,

I did lab 3 before this update. As such the version was 3.0 instead this one (4.0).

So I would like to know if there are any changes besides the removal of old question two regarding "microwave oven specification"?

Thanks in advance.

/Shuang

Lärare kommenterade 24 februari 2016

No, I have just removed a "dead" exercise.

KM

En användare har tagit bort sin kommentar
En användare har tagit bort sin kommentar
kommenterade 23 januari 2017

Hi, is someone looking for a lab partner ?

I am a french double degree student and I prefer Java.

En användare har tagit bort sin kommentar
kommenterade 24 januari 2017

Looking for a partner if anyone is interested. Jmobe@kth.se

En användare har tagit bort sin kommentar
En användare har tagit bort sin kommentar
kommenterade 27 januari 2017

Hi everyone! My name is Sparks, a master student of Control Track, Embedded Systems. I am looking for partners for Homework. If you are interested in, please reply or send me an email to wang3@kth.se . Thank you for your attention!

kommenterade 27 januari 2017

Hi to all out there! I am also looking for a partner. Language to use Java, please email to anapro@kth.se

kommenterade 6 februari 2017

Hi,

3 questions regarding lab 2.

1. Should the test suites have the same size for random testing and pairwise testing? For example if pairwise testing uses two sets of size 10 then random testing should have 100 test cases.

2. Should we use a cap for maximum value on the integers. If we use original max value of int then the probability that we get a git on an array of size 20, as suggested, is very small. If so, what should be our guideline when setting a max cap?

3. If a maxcap is used, should it be increased in the case when we increase N to 100 or 500?

Thank you for your time

Lärare kommenterade 6 februari 2017

1. One good way to tackle this question is to measure the average number of test cases required by each method to find the first fault (a mean-time-to-failure approach).

Otherwise you could normalise to the same size test suites, but the results could be less conclusive (e.g. both find or both don't find)

2. This has never come up before, but in any case there is always a cap on the size of the largest int.

3. Not sure I have really understood this question or question2?

kommenterade 7 februari 2017

You will need this pdf to solve the problem in lab2.

Design by Contract with JML

http://www.eecs.ucf.edu/~leavens/JML/jmldbc.pdf

kommenterade 7 februari 2017

About n-wise testing in lab 2, since a majority of errors are discovered with lower n, should we begin by doing the 0-wise test, then all 1-wise tests, and finally all 2-wise tests? And what should we use as typicals and how many? For instance, I suppose a few different boundary-value arrays (and some more "normal" cases), some where the default key is in them and some where it isn't, would suffice? And the analogous case for the default and typical key of course.

Lärare kommenterade 7 februari 2017

I doubt you will find any errors at all with 0-wise. You might like to try 1-wise separately if you wish, but the main emphasis is pairwise.

kommenterade 7 februari 2017

In that case, since the number of variables are two (the array and the key), wouldn't the only difference between random and pairwise be that in the pairwise case, we can predefine the cases strategically e.g. boundary cases? Still, to arrive at any larger volume of test cases, they would apart from that be the same since we'd probably like to rely on random generation to create all those test cases that might be necessary.

Lärare kommenterade 7 februari 2017

You cannot develop a good answer to lab 2 without considering an array as A.size() independent variables.

This example was carefully chosen to make scaling the problem dimension D very very easy!

kommenterade 8 februari 2017

I have a question regarding the random test framework. If I understand the lecture notes correctly, we simply generate a random input, and this randomly generated input will be one test case. 
However, are there any constraints on this randomly generated input (more specifically regarding the range) ? Is it really any input at random, or do we for example choose from a restricted subset ?

For example, if we allow each number in the array to truly be any integer, we will have a very small chance of obtaining a random "matching" key in one of our test cases. Wouldn't that be a problem ?

Lärare kommenterade 8 februari 2017

Hi all,

there are getting just too many questions on this page for me to answer them all individually.

I suggest you bring your questions to the lab tomorrow (Thursday) where it will be easier and quicker for me to answer them.

Thanks

Karl Meinke

kommenterade 9 februari 2017

Approximately when are we going to get the results for lab 1 (and 2)? And if one happens to fail a lab, will there be a chance to do some kind of make-up?

Lärare kommenterade 9 februari 2017

You will find lab grades in Rapp when they are ready.

If you fail a lab you must redo and resubmit. The comments will tell you what to do.

Karl Meinke

kommenterade 13 februari 2017

Hi,

About Lab 2, how are we suppose to submit the implemented program from question 3? Should we print out the code and hand it with the other questions?

/Alan 

Lärare kommenterade 13 februari 2017

Please read the lab notes carefully and just submit the tables of your comparisons of n-wise and random.

kommenterade 28 februari 2017

Hi,

I was wondering about lab 3, do you want a collection of the the correct outputs as a report, or are we suppose to write down something else?

Thanks in advance, /Addi 

Lärare kommenterade 28 februari 2017

For lab 3 you need to tabulate your test cases. Please read the lab instructions carefully.

KM

kommenterade 6 mars 2017

In lab3... it says that there are only 6 edges in the carcontroller state graph but the way I see it there are 7... For each of the three states, there are 4 input combinations (a & b, a & !b, !a & b, !a & !b) and so when drawing the graph and the transitions, I end up with 7 edges (including 2 self-loops in states STOP and FAST)... am I "out biking" as we say in Swedish or am I right? :)

kommenterade 7 mars 2017

What date is "End of Period 3" going to be? 

kommenterade 13 mars 2017

I agree with Elias. I get the transitions looking something like this:
transitions

Lärare kommenterade 13 mars 2017

I think already in the course notes it points out that the model there is incomplete, just the most important transitions are present that show the idea.

KM

Karl Meinke redigerade 16 januari 2018

Lab

Contents Submission deadline Lab 1

(a) Exercise Sheet 1

End of Period 3 Lab 2

(a) Exercise sheet 2

JML syntax definition.

End of Period 3 Lab 3

(a) Exercise Sheet 3

(b) Instructions.pdf (c) bitshift.smv (d) carcontroller.smv

(e) examples.zip  NOTE 5 documents!

End of Period 3 You can find the lab rooms with this lab room map¶ To pass the course you must complete and submit lab 1, 2 and 3 assignments.General Lab Instructions:  You need to pass all 3 labs before you can pass the course. A lab has just two grades: (a) pass, (b) fail.¶

You can work on a lab alone, or with a partner. I don't recommend working as three, and more is not allowed.¶

If you fail a lab you must re-do it until it is passed. There is no specific time limit for this, but a good aim is to complete all the labs before the exam, alternatively before summer vacation.¶

On completing each lab, you should print out one hard-copy and bring it along to the exercise class the following week. Here we will go through model answers, and you should be able to see if you have passed each question, or if you made a mistake, what it was. You are encouraged to discuss your answers with me during an exercise class if there is something you did not understand.¶

At the end of the exercise class you should hand in to me one hard-copy of the lab (I do not for technical reasons accept electronic submissions). Make sure the names and e-mail addresses of all the lab partners are on the work. You do not need to hand in 2 solutions if you are 2 lab partners.¶

If you have not completed the lab (e.g. you are sick) or you cannot attend the exercise class the following week, then you can put a hard-copy of your lab work into my mail tray (Karl Meinke) on level 4 of the E building. You can do this at any time you wish, even after the course has finished.¶

I generally mark lab work in batches, so they may be some delay between submitting your work, and seeing a grade in rapp/ladok. If you doubt whether I have received your work you can mail me.¶

It is a good idea to keep a backup copy of all your lab work until you have completed the course.¶



Lab Rooms¶

You can find the lab rooms with this lab room map¶

Karl Meinke redigerade 26 januari 2022

Lab

Contents Submission deadline Lab 1

(a) Exercise Sheet 1 (test coverage)

1 document

End of Period 3 Lab 2

(a) Exercise Sheet 2 (black-box and requirements testing)

(b) JML syntax definition.

(c) a short tutorial on JML that contains all the constructs you will need.

3 documents!

End of Period 3 Lab 3

(a) Exercise Sheet 3 (Model-based Testing and ATCG)

(b) Instructions.pdf (c) bitshift.smv (d) carcontroller.smv

4 documents!

End of Period 3 General Lab Instructions: You need to pass all 3 labs before you can pass the course. A lab has just two grades: (a) pass, (b) fail.

You can work on a lab alone, or with a partner. I don't recommend working as three, and more is not allowed.

If you fail a lab you must re-do it until it is passed. There is no specific time limit for this, but a good aim is to complete all the labs before the exam, alternatively before summer vacation.

On completing each lab, you should print out one hard-copy and bring it along to the exercise class the following week. Here we will go through model answers, and you should be able to see if you have passed each question, or if you made a mistake, what it was. You are encouraged to discuss your answers with me during an exercise class if there is something you did not understand.

At the end of the exercise class you should hand in to me one hard-copy of the lab (I do not for technical reasons accept electronic submissions). Make sure the names and e-mail addresses of all the lab partners are on the work. You do not need to hand in 2 solutions if you are 2 lab partners.¶ If you have not completed the lab (e.g. you are sick) or you cannot attend the exercise class the following week, then you can put a hard-copy of your lab work into my mail tray (Karl Meinke) on level 4 of the E building. You can do this at any time you wish, even after the course has finishedupload a .pdf of the lab to Canvas. Make sure the names and e-mail addresses of all the lab partners are on the work. On Canvas it is best to upload 2 copies if you are 2 lab partners. The lab page on Canvas is open until the end of June 2022 for submissions. After that you must e-mail me.

I generally mark lab work in batches, so they may be some delay between submitting your work, and seeing a grade in rapp/ladok. If you doubt whether I have received your work you can mail me.

It is important to keep a backup copy of all your lab work until you have completed the course and your grades have been added to Canvas.

Lab Rooms

You can find the lab rooms with this lab room map

Karl Meinke redigerade 11 januari 2023

Lab

Contents Submission deadline Lab 1

(a) Exercise Sheet 1 (test coverage)

1 document

End of Period 3 Lab 2

(a) Exercise Sheet 2 (black-box and requirements testing)

(b) JML syntax definition.

(c) a short tutorial on JML that contains all the constructs you will need.

3 documents!

End of Period 3 Lab 3

(a) Exercise Sheet 3 (Model-based Testing and ATCG)

(b) Instructions.pdf (c) bitshift.smv (d) carcontroller.smv

4 documents!

End of Period 3 General Lab Instructions: You need to pass all 3 labs before you can pass the course. A lab has just two grades: (a) pass, (b) fail.

You can work on a lab alone, or with a partner. I don't recommend working as three, and more is not allowed.

If you fail a lab you must re-do it until it is passed. There is no specific time limit for this, but a good aim is to complete all the labs before the exam, alternatively before summer vacation.

On completing each lab, you should print out one hard-copy and bring it along to the exercise class the following week. Here we will go through model answers, and you should be able to see if you have passed each question, or if you made a mistake, what it was. You are encouraged to discuss your answers with me during an exercise class if there is something you did not understand.

At the end of the exercise class you should upload a .pdf of the lab to Canvas. Make sure the names and e-mail addresses of all the lab partners are on the work. On Canvas it is best to upload 2 copies if you are 2 lab partners. The lab page on Canvas is open until the end of June 20223 for submissions. After that you must e-mail me.

I generally mark lab work in batches, so they may be some delay between submitting your work, and seeing a grade in rapp/ladok. If you doubt whether I have received your work you can mail me.

It is important to keep a backup copy of all your lab work until you have completed the course and your grades have been added to Canvas.

Lab Rooms

You can find the lab rooms with this lab room map

Karl Meinke redigerade 30 januari 2023

Lab

Contents Submission deadline Lab 1

(a) Exercise Sheet 1 (test coverage)

1 document

End of Period 3 Lab 2

(a) Exercise Sheet 2 (black-box and requirements testing)

(b) JUML syntax definition.

(c) a short tutorial on JML that contains all the constructs you will need.

3 documents!

End of Period 3 Lab 3

(a) Exercise Sheet 3 (Model-based Testing and ATCG)

(b) Instructions.pdf (c) bitshift.smv (d) carcontroller.smv

4 documents!

End of Period 3 General Lab Instructions: You need to pass all 3 labs before you can pass the course. A lab has just two grades: (a) pass, (b) fail.

You can work on a lab alone, or with a partner. I don't recommend working as three, and more is not allowed.

If you fail a lab you must re-do it until it is passed. There is no specific time limit for this, but a good aim is to complete all the labs before the exam, alternatively before summer vacation.

On completing each lab, you should print out one hard-copy and bring it along to the exercise class the following week. Here we will go through model answers, and you should be able to see if you have passed each question, or if you made a mistake, what it was. You are encouraged to discuss your answers with me during an exercise class if there is something you did not understand.

At the end of the exercise class you should upload a .pdf of the lab to Canvas. Make sure the names and e-mail addresses of all the lab partners are on the work. On Canvas it is best to upload 2 copies if you are 2 lab partners. The lab page on Canvas is open until the end of June 2023 for submissions. After that you must e-mail me.

I generally mark lab work in batches, so they may be some delay between submitting your work, and seeing a grade in rapp/ladok. If you doubt whether I have received your work you can mail me.

It is important to keep a backup copy of all your lab work until you have completed the course and your grades have been added to Canvas.

Lab Rooms

You can find the lab rooms with this lab room map