• No results found

Master Thesis – Mutation Testing

N/A
N/A
Protected

Academic year: 2021

Share "Master Thesis – Mutation Testing"

Copied!
1
0
0

Loading.... (view fulltext now)

Full text

(1)

Master Thesis – Mutation Testing

Description

For any software it is important that it is possible to write tests to ensure that the software is working as intended. If the software that we want to test is large it is convenient if we can test parts of it in isolation. By isolation we mean that we should not have to compile the whole application just to test a selected function in our code.

One way in which we can achieve this kind of testing is to take our function and manually write fake implementations of all code that it depends on; this is known as

stubbing. However, writing these stubs manually is very time-consuming and also the stubs must be updated whenever the behavior of the code that it imitates is updated.

To remedy the problems with stubbing we can use a technique known mocking in which the test code contain specifications on how dependencies should behave in this particular test case; this eliminates the need for stub implementations.

The goal for this Master Thesis is to make isolated testing of individual C files easy by using GCC plugins. Any function calls that are made from the tested file to an outside function should be mocked automatically, using information that is available in the compiler.

Qualifications

This is a technically advanced project and you will need the following in order to succeed:

 Very good knowledge of C programming.

 Knowledge of how compilers and linkers work.

 Some understanding of software testing is also required

Contact person:

Anders Nilsson, Manager, Ericsson AB, Linköping, BBI BB Tools Dev anders.n.nilsson@ericsson.com

+46730435786

References

Related documents

A promotion level can be seen as a larger test suite, and different promotion levels covers different complexity and different test aspects (e.g. smoke tests, feature

In agile projects this is mainly addressed through frequent and direct communication between the customer and the development team, and the detailed requirements are often documented

However, in a comment, also published in this journal, Haab, Huang and Whitehead (1999) (henceforth HHW) claim that the results of CEHM do not reject the hypothesis of

benefit test alone, without any distributional concern, given “standard simplifying assumptions.” This paper, on the contrary, demonstrates that distributional weights, equal to

In this thesis we have outlined the current challenges in designing test cases for system tests executed by a test bot and the issues that can occur when using these tests on a

Because a worker shares more genes with her sister than with a potential offspring, kin selection predicts that this should make her want sisters instead of offspring.. This could

If the patient’s file is available by the palm computer with a home visit should it strengthen the key words picked by us which represents the district nurse skill; “seeing”,

We have taken a somewhat dierent perspective in the main result, Theorem 3.1, showing that a traditional model validation test immediately gives a \hard" bound on an integral of