<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Accounting Testing in Software Cost Estimation: A Case Study of the Current Practice and Impacts</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jurka Rahikkala</string-name>
          <email>jurka.rahikkala@vaadin.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sami Hyrynsalmi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ville Leppänen</string-name>
          <email>ville.leppanen@utu.fi</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Information Technology, University of Turku</institution>
          ,
          <country country="FI">Finland</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Vaadin Ltd</institution>
          ,
          <addr-line>Turku</addr-line>
          ,
          <country country="FI">Finland</country>
        </aff>
      </contrib-group>
      <fpage>61</fpage>
      <lpage>75</lpage>
      <abstract>
        <p>Testing has become an integral part of most software projects. It accounts for even as high a share as 40% of the overall work effort. At the same time software projects are systematically exceeding their effort and schedule forecasts. Regardless of the overruns and big share of testing, there is very little advice for estimating testing activities. This case study research assesses the current practice of estimating testing activities, and the impact of these practices on estimation and project success. Based on the interviews with 11 stakeholders involved in two case projects and examination of project documentation, this study shows that companies easily deviate from their standard procedures, when estimating testing. This may even lead to severe estimation errors. The deviations can be explained by negative attitudes towards testing. Furthermore, this study shows that the extant literature has sparsely addressed estimation of software testing.</p>
      </abstract>
      <kwd-group>
        <kwd>Software Cost Estimation</kwd>
        <kwd>Software testing</kwd>
        <kwd>Project Management</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Software cost estimation (SCE), or effort estimation, is an art which is not well
handled by the software industry (see e.g. Rahikkala et al., 2014). The famous Chaos
Reports by Standish Group International have for decades claimed that nearly two
thirds of software products either failed to meet their budget and timetable goals or
they were never delivered
        <xref ref-type="bibr" rid="ref29">(The CHAOS Manifesto, 2013)</xref>
        . While these numbers have
been heavily criticized
        <xref ref-type="bibr" rid="ref15">(see Laurenz Eveleens and Verhoef, 2010)</xref>
        , high failure
percentages have been shown also by other research and consultancy institutes
        <xref ref-type="bibr" rid="ref18 ref8">(c.f.
Moløkken and Jørgensen, 2003; Mieritz, 2012)</xref>
        . Nevertheless, these numbers clearly
show the dilemma of software cost and effort estimations: they often fail.
      </p>
      <p>
        In this study, our topic is an increasingly important aspect of SCE: estimating the
effort of software testing activities. The software testing activities have been found to
take from 20%–25%
        <xref ref-type="bibr" rid="ref11 ref6">(Haberl et al., 2012; Lee et al., 2013; Buenen and Teje, 2014)</xref>
        to
even 40% or more
        <xref ref-type="bibr" rid="ref21">(Ng et al., 2004)</xref>
        of the total cost of the project. However, there is
still a lack of knowledge of SCE methods as well as proper tools and practices for
software testing estimation. For example, from the studies included into Jørgensen
and Shepperd’s (2007) systematic literature review on software cost estimation, only
a handful seems to discuss estimation of software testing activities.
      </p>
      <p>Thus, there is a gap in extant literature on the effect of software testing effort
estimation. The objective of this paper is to 1) gain in-depth knowledge of the current
practice for accounting testing in SCE, and 2) understand the impact of the used
practices on SCE and project success.</p>
      <p>To answer the research questions, a qualitative research approach is used. We
study software cost estimation practices in two projects in two case companies. Based
on the study of 11 interviews and 17 project related documents, this paper contributes
to the scientific literature by reporting on the current practice of estimating testing
effort, and the impact of use of these practices on estimation and project success.
Understanding the role of testing effort estimation in software projects better may
help project managers, other software professionals and researchers to pay more
attention on testing and related estimation.</p>
      <p>The rest of this paper is structured as follows. Section 2 briefly presents the
background of software cost estimation studies. It is followed by a description of research
design and the case study subjects. The fourth section presents the results and Section
5 discusses the practical and scientific implications, and addresses the limitations of
the study as well as the future research directions. The final section concludes the
study.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Background</title>
      <p>
        Software cost and effort estimation has a long tradition in the field of computing
disciplines. For example, Farr and Nanus (1964) and Nelson (1966) addressed the cost
estimation of programming five decades ago. Since then a multitude of software cost
estimation methods and models have been presented
        <xref ref-type="bibr" rid="ref13 ref3 ref5">(c.f. Boehm et al., 2000; Briand
and Wieczorek, 2002; Jørgensen and Shepperd, 2007)</xref>
        . However, as discussed in the
introduction, the software industry has an infamous history with the success of
software cost and effort estimations. Despite the decades of research, projects often run
over their budgets and timetables
        <xref ref-type="bibr" rid="ref8">(Moløkken and Jørgensen, 2003)</xref>
        .
      </p>
      <p>Software testing is showed to be hard to estimate and predict. In the survey of
Australian companies by Ng et al. (2004), only 11 companies out of the 65 studied were
able to meet their testing budget estimates. Most of the companies spent more than
1.5 times the resources they had estimated. Furthermore, three of the studied
companies estimated the cost of testing twice as high as was the actual cost. At the same
time, most of the companies reported using approximately 10-30% of their initial
budget to the testing activities.</p>
      <p>
        The extant literature has classified presented estimation methods in several ways.
For example, Boehm, Abts, and Chulani (2000) divided the existing methods into six
different categories: Model-based, Expertise-based, Learning-oriented, Dynamics
based, Regression-based and Composite techniques. However, for the sake of
simplicity, we consider only two major types of software cost estimation methods:
Modelbased and Non-model-based
        <xref ref-type="bibr" rid="ref5">(Briand and Wieczorek, 2002)</xref>
        . The first category, in
general, consists of methods that have a model, a modelling method, and an
application method. A classical example of these kinds of software cost estimation methods
is COCOMO by Boehm (1981). The methods of the second category consist of one or
more estimation techniques. These methods do not involve any models, only
estimations. For example, bottom-up expert estimations belong to this category.
      </p>
      <p>Some methods for software test effort estimation have been presented. For
example, Calzolari, Tonella and Antoniol (1998) presented a dynamic model for
forecasting the effort of testing and maintenance. The model is based on a view that testing is
a similar activity to predating a prey (i.e. software bug) in nature. Engel and Last
(2007) have also presented a model for estimating testing effort based on fuzzy logic.
In contrast to modelling-focused techniques, Benton (2009) recently presented the
IARM-estimation method for software cost and effort. The model is remarkably
simpler than presented formal models and it emphasizes expert evaluation by team
members; however, there is a lack of validation and verification of the proposed model.</p>
      <p>
        To summarize, software testing activities seem to be rather hard to estimate. While
there is a lack of studies on software testing estimations, Ng et al. (2004) showed that
most of surveyed Australian companies do not hit their estimates. Furthermore, there
is a rather wide understanding on the size of software testing of the whole software
development project. While some studies suggest the use of only one-fourth of the
budget
        <xref ref-type="bibr" rid="ref11 ref6">(e.g., Haberl et al., 2012; Lee et al., 2013; Buenen and Teje, 2014)</xref>
        , there have
been claims of even half of the budget
        <xref ref-type="bibr" rid="ref22">(see e.g. Ammann and Offutt, 2001)</xref>
        .
Nevertheless, in our literature review, we sparsely found any studies focusing on developing or
validating software cost estimation techniques for testing. This is a noteworthy
disparity between the cost caused by testing activities and the academic interest towards the
topic.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Research methodology</title>
      <p>In the following, we will first present the research approach and design of this study.
It is followed by a description of case study subjects.
3.1</p>
      <sec id="sec-3-1">
        <title>Research design</title>
        <p>
          This study is based on a qualitative research approach (Cresswell, 2003). We use a
case study research strategy and interviews as the main tools of inquiry. The
qualitative research approach was selected to allow us to get an in-depth understanding about
the phenomenon under the study lens. The case study research strategy was used as
the researchers have no control over the study subject
          <xref ref-type="bibr" rid="ref31">(Yin, 2003)</xref>
          . As Patton (2001)
states, the case studies are able to shed light on phenomena occurring in a real-life
context. This study is exploratory of type, finding out what is happening, seeking new
ideas and generating hypotheses and ideas for new research (Robson, 2002). The
research uses a multiple case study design following a replication logic
          <xref ref-type="bibr" rid="ref31">(Yin, 2003)</xref>
          .
The case study organisations were selected based on the impression of the SCE
maturity of the organisation gained during the initial discussions with the organisation
representatives. The unit of analysis is a single software cost estimate. The study is
focused on the experiences gained during the preparation of the cost estimate.
        </p>
        <p>This study about estimation of software testing consists of two case companies that
we call as Small Global and Large Multinational. The companies wished to remain
anonymous in this study. From both companies, we selected one software
implementation project that has either ended or is near its ending. The first project was
developed for a customer, thus the estimate was used for pricing the project, in addition to
other planning purposes. The other is a software tool development project, which is
aimed for a mass market. In this project, the estimates were especially used for
estimating the release date of the product.</p>
        <p>For the selected case study projects, we interviewed different stakeholders
involved in the projects. The interviewees’ roles varied from developers and testers to
project managers and senior executives. In addition to the interviews, we collected
various documents related to the project. For example, we reviewed project plans,
design documents and minutes of weekly meetings related to the projects.</p>
        <p>We created an interview protocol consisting of several questions related to
software cost estimation and testing. The protocol was created following the guidelines
by Runeson et al. (2012). The interviews were conducted as semi-structured (Robson,
2002). In the interviews, while following the protocol, new ideas were allowed to be
brought up and discussed with the interviewee. The interviews were conducted by two
researchers where one acted as the main interviewer. An interview session was
approximately one hour in length and the discussion was recorded. The recordings were
transcripted and sent to the interviewees for review. All case subjects participated in
the study voluntarily and anonymously, and the collected data was treated as
confidential.</p>
        <p>For the analysis of data, we used nVivo 10. All transcripted interviews, notes done
during the interviews, in addition to the auxiliary materials, were imported into the
software. The analysis was conducted in a series of steps (Robson, 2002). First the
texts were coded by the researchers, whereafter iteration followed, until the
conclusions were reached.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Case subjects</title>
        <p>The Small Global is a software producing firm of about 100 persons, headquartered in
Finland. The company’s line of business consists of selling consultancy and support
services in addition to software products to businesses. The company is global; it has
customers and offices in several countries. The selected project, referred to as
Developer Tool, is a typical software product development project in the company. In the
project, the aim was to produce a visual design tool for developing applications. The
project followed a Waterfall-style software engineering method: it was strictly
planned up-front but the actual development work was divided into sprints. The
interviews conducted in the company are shown in Table 1.</p>
        <p>The Developer Tool project started with a prototype where technical challenges
and possible development stacks were studied. After the prototype project, a project
aiming at the release of version 1.0 was planned. The management named a project
manager and a product owner for the product. The product owner crafted a design
document for the product, and based on that document, the project management
created a project plan with time estimates. Initially, the project was estimated to take three
months with a team of four people.</p>
        <p>The project missed its first deadline, a beta version release, approximately after the
half-point of the estimated duration of the project. First, the project team narrowed the
content plan of the product in order to hit the planned release date. Later, the initial
content was returned to the plan and deadlines were postponed in the future. When the
problems were noted, some developers were changed and new ones were introduced.
Currently, the project is expected to finish after approximately nine months of
development with the team of approximately four persons.</p>
      </sec>
      <sec id="sec-3-3">
        <title>Interview code</title>
        <sec id="sec-3-3-1">
          <title>Interview V1</title>
          <p>Interview V2
Interview V3
Interview V4
Interview V5</p>
        </sec>
        <sec id="sec-3-3-2">
          <title>Interview T1</title>
          <p>Interview T2
Interview T3
Interview T4
Interview T5
Interview T6</p>
          <p>The other case study subject comes from The Large Multinational, which is a large
multinational company also headquartered in Finland. The Large Multinational
produces software and consultancy for a wide area of business sectors. The selected
project, referred to as Operational Control System, is a typical software development
project for the company. The resulted software is a business intelligence reporting
system for following certain control activities. The software was ordered by a
longterm customer of the company. The interviews conducted in the company are shown
in Table 1.</p>
          <p>Also this project followed a Waterfall-like software development process: the
requirements were elicited before the features of the product were agreed upon with the
customer. The product was estimated only after the specification documentation was
ready and accepted by the customer. The estimation was done by the developers and
testers themselves. The Large Multinational uses a structured sheet for estimations
that the workers filled individually by themselves. The project manager prepared the
final estimates by using the expert estimates as the base.</p>
          <p>The Operational Control System project was planned according to certain
preconditions: the customer had a fixed budget and limited time for development. Only after
both the customer and the software vendor had agreed upon the content with a limited
set of unknown features, the development started. The development work continued
rather straightforwardly from design and implementation to testing and delivery. The
project lasted 10 months; the size of the project was approximately 30 man-months,
of which 25% was used for testing and quality assurance. While there were major
changes asked by the customer in the midway of the project, it hit the targets by
keeping the budget and the timetable. In certain areas, there were estimation mismatches:
in one software testing area, there was a significant overrun (+76% of initial
estimate); however, in the implementation of a certain feature, an expert level developer
was able to underbid the estimate (-77%) that was created with the presumption of a
general level developer.
4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Results</title>
      <p>This section presents the findings identified during the analysis of data, as described
in the research methodology chapter. The findings are grouped into the following five
categories:
1. General
2. Estimation practices
3. Testing plan
4. Attitudes
5. Estimation challenges
4.1</p>
      <sec id="sec-4-1">
        <title>General</title>
        <p>In both projects testing was strongly related to effort and schedule overruns. In the
Operational Control System project the overrun of the data import testing was nearly
80%, although the overall project managed to keep the original budgets. In the
Developer Tool project, omitted testing tasks resulted in significant effort and schedule
overruns, being roughly 100% in July 2015. Regardless of the significant testing
related overruns, the management in both projects report that the actual amount of work
would probably not have been affected by more accurate estimates. In other words,
the actual testing work was necessary, although bigger than anticipated.</p>
        <p>The overrun of the testing effort in the Operational Control System lead to
discussions with the customer, and likely to decreased customer satisfaction. In the
Developer Tool, the project has received a late project status because of the overruns. This
has lead to some negative late project symptoms, like decreased development team
motivation, increased number of status meetings, frequent re-estimation and more
discussions about the project scope (McConnell, 2006).</p>
        <p>Both organisations have a long experience of software projects and related testing.
The unit responsible for the Operational Control System has dedicated testing
engineers and teams, while in the Developer Tool project the testing was conducted
partially by dedicated testing engineers, partially by the development team. In both cases
customer representatives or pilot users participated in user testing. Following the
Testing Maturity Model (TMM) presented by Burstein et al. (1998), the testing
maturity was on level 3 and level 2 in Operational Control System and Developer Tool,
respectively, in the scale from 1 (low maturity) to 5 (high maturity).
4.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Estimation practices</title>
        <p>There were standard procedures for the estimation of the testing effort in both of the
companies. The procedures required that the project plan, functional specification and
testing plan must be ready before the effort estimation. Expert estimation was used for
estimating testing tasks in both projects, i.e. experts estimated the effort of the testing
tasks based on their professional competence. In the Operational Control System
project a spreadsheet based work breakdown structure was used for preparing the final
estimate, and the effort was also compared with the historical project data. There was
also a guideline based on the historical data that the testing effort varies between 50%
and 200% of implementation effort, depending on the application area to be tested.
The expert estimation of testing tasks was conducted by the actual testing engineer in
the Operational Control System project and by the product owner in the Developer
Tool, while feature implementation tasks were estimated by the actual software
engineers in both projects. In the Operational Control System, the actual testing engineers
were known by the time of estimation, which was not the case in the Developer Tool
project. Finally the estimates were reviewed in the project steering groups.</p>
        <p>The fact that the actual testing engineer estimated the testing tasks was seen to
have a positive impact on the estimation results in the Operational Control System
project, as well as the experience of the estimator. The Operational Control System
team members report also that knowing the actual persons who will be doing the
testing helps in preparing estimates. That is, the amount of work hours needed depends
on the persons doing the work.
4.3</p>
      </sec>
      <sec id="sec-4-3">
        <title>Testing Plan</title>
        <p>Regardless of the requirement by the standard estimation procedures, neither of the
projects had a testing plan ready, when the implementation phase of the project was
started. In other words, the exact scope of the testing was not defined in detail before
testing was estimated. In the Operational Control System project the testing effort was
accounted in the project plan, and the testing manager reports that there was a shared
vision of the testing based on the previous projects. In the Developer Tool project
only automated regression testing was accounted in the project plan, but user testing
and manual testing were omitted. In both projects the testing plan was created in a
later phase of the project. The reason for not finalizing the testing plan before starting
the implementation was a hurry to proceed with the implementation, not to save
money.</p>
        <p>Interviewees in the Developer Tool report that there was a significant difference in
the expectations of the project results between the development team and the
management. The management expected a finalized, user tested product, while the
development team’s expectation was more like a regression tested proof-of-concept, where
the user testing would have been postponed until the next version of the product. The
overruns in the Developer Tool project are specifically related to this difference in
expectations. Although the testing activities are seen as necessary, a senior manager
in the Developer Tool states that a testing plan would have helped to discover testing
related problems earlier and to plan testing activities better. A proof-of-concept
project was done prior to the actual Developer Tool project to test all key technological
assumptions, but that did not cover testing. Retrospectively a senior manager
speculates that testing should have been part of the proof-of-concept to avoid testing related
surprises.</p>
        <p>In the Operational Control System the project manager reported that the first
estimate for testing did not fit in the project schedule, and it was discovered that the
estimate was prepared in five minutes. The project manager had also challenged the high
effort for testing activities, being not able to understand the basis for the estimate.
Furthermore, the project and testing managers report that the difficulties in testing
were related to e.g. unavailability of test data and higher complexity of the data
import logic than expected.
4.4</p>
      </sec>
      <sec id="sec-4-4">
        <title>Attitudes</title>
        <p>In the Operational Control System, the testing manager describes that testing is
generally considered as of low importance, and that the competence and historical data is
not valued as it is valued in the implementation. This feeling contradicts with the
general comments where professional competence and use of historical data are
strongly connected to estimation success. The Operational Control System project
owner emphasizes that the testing effort must be on a reasonable level considering the
application area and that it must add value to the project. The project owner continues
that Large Multinational has invested significant amount of time and money for
improving testing capabilities within the past two years. This communicates about the
experienced importance of testing. However, according the product owner, changing
established practices will take time. Based on the interviews, changing attitudes seem
to take time, like changing any other capabilities. In both projects the technical staff
considered especially automated regression testing to have a high importance. In the
Developer Tool project, a senior manager describes that developers’ attitudes towards
manual testing and user experience testing are negative.</p>
        <p>Other findings in this research support the feeling that testing is not considered
equally important as implementation. For example, the testing plans were not ready
when the project was estimated or testing started, and in one project the actual testers
did not estimate the testing work or the actual testers were not known at the time of
estimation. The Developer Tool projects’s product owner reports that testing related
tasks are first omitted if the schedule is tight and something needs to be dropped out
from the scope. This lower level of importance may prevent testing as a function from
evolving, including estimation of testing. The testing manager in the Operational
Control System pointed out that the attitudes towards testing are not encouraging even in
universities: “There was only one course of software testing out of two hundred
offered”. Additionally, the testing manager commented that testing is seen as a task for
those who are not good enough for ordinary programming.
4.5</p>
      </sec>
      <sec id="sec-4-5">
        <title>Estimation challenges</title>
        <p>In the Operational Control System project, the testing manager considered estimation
of testing as more difficult than estimating implementation. The primary reason for
this is the high number of dependencies: problems with data or specifications, or high
number of bugs will reflect to testing. For example, if the test data is delayed by one
week, the testing team is still there, but not doing what they were planned to do. The
number of found bugs was relatively high in the Operational Control System, which
cumulated extra work because of manual testing practices. Also the Developer Tool
project manager emphasised the role of external parties in estimation. For example,
the unavailability of external testing engineers or users for user testing may delay the
project. Other interviewees could not make a difference in difficulty, but a senior
manager in the Developer Tool pointed out that there is generally less experience of
estimating testing.</p>
        <p>Automated testing was widely seen to make regression testing more predictable,
because then the regression would not cause additional testing work. The project
manager in the Developer Tool emphasises the importance of the right degree and
phase of testing, otherwise the maintenance of tests can generate extra work. A senior
executive of the project continues that indecisiveness in processing user feedback may
cause overruns, and underlines the importance of decisiveness and time boxing in user
testing.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Discussion</title>
      <p>This section discusses the main case study findings, and presents the related practical
and theoretical implications. This section also addresses the limitations of this study,
and gives pointers for further research.</p>
      <p>This study has captured in-depth experiences from two typical project
organisations, who have established software development practices for one project, based on
their internal guidelines. As is typical for these kinds of organisations, the maturity
and optimisations of the practices are not on an exemplary level, because the projects
exist for only a certain period of time, and the contents of the projects vary. The
primary need of these organisations is to get the basic things right in every project, not to
optimise the last details.
5.1</p>
      <sec id="sec-5-1">
        <title>Implications for practice</title>
        <p>
          This study clearly shows that the basic principles for estimating testing related tasks
are the same as for estimating implementation tasks, but there is a strong tendency to
take shortcuts and postpone tasks beyond their planned deadlines. The most
significant finding is that the testing plan was not delivered in either project by the time of
estimation. This can be compared to estimation of implementation with incomplete or
no specifications, which is connected to overruns
          <xref ref-type="bibr" rid="ref16 ref27">(Standish group, 1994; Lederer and
Prasad, 1995)</xref>
          . Especially in the Developer Tool project this was the reason for
overruns, and the evidence suggests also that some surprises could have been avoided also
in the Operational Control System project with a finalised testing plan.
        </p>
        <p>
          Also, the practical estimation tasks were subject to taking short-cuts in the
Developer Tool. While the implementation tasks were estimated by a developer and the
initial project team was known, the testing was estimated by the product owner for an
unknown team. This is problematic from the estimation point of view, because the
productivity of developers is known to vary significantly
          <xref ref-type="bibr" rid="ref14">(Kemayel, Mili and
Ouederni, 1991)</xref>
          .
        </p>
        <p>
          The attitudes towards testing and its estimation seem to be contradictory: on one
hand testing cannot be omitted, but on the other hand it seems not to be a full-fledged
part of the software project. This research has found that the testing personnel
perceives that testing is considered as unimportant, and the management emphasises that
the cost needs to be reasonable. The tendency to take shortcuts supports this perceived
unimportance. The extant literature clearly shows that the attitudes of the senior
management influences strongly the change or improvement of a certain area
          <xref ref-type="bibr" rid="ref28 ref30">(Stelzer and
Mellis, 1998; Wiegers, 1998)</xref>
          , which means that the negative attitudes are likely to
influence also the estimation of testing tasks negatively.
        </p>
        <p>The technical staff in both projects has very positive attitudes towards automated
testing. This is claimed to reduce manual work and improve predictability. This is a
fair assumption, and confirmed, for example, by Ramler and Wolfmeier (2006) and
Hoffman (1999), but only if implemented properly. They emphasise that the project
characteristics need to be accounted when planning testing, in order to implement
effective and reasonably priced testing. This was supported by the comments from a
senior manager in the Operational Control System (“the extent of testing must
consider the project at hand”) and (“testing must add value to the project”), the project
manager from the Developer Tool (“degree and phase of testing must be carefully
planned”) and a senior manager in the Developer Tool (“decisiveness and time
boxing is important in user testing”).</p>
        <p>
          Changing attitudes, as well as other capabilities, seem to take time. The Large
Multinational has invested resources in building capabilities significantly within the past
two years, but the know-how or attitudes are still not on the same level as in
implementation. This corresponds to results from other change situations
          <xref ref-type="bibr" rid="ref23">(Piderit, 2000)</xref>
          .
        </p>
        <p>As a summary, similar projects as the Developer Tool and Operational Control
System are recommended to follow the same estimation practices for testing related
tasks as for implementation. Neither of the projects reported that the reason for
postponing or omitting tasks was cutting cost. In this sense, it seems counter intuitive and
productive not to follow the same rigour in testing as with implementation, especially
when the short-cuts seem to cause even severe estimation errors.</p>
        <p>Finally, it was noted in the interviews that the personnel was rarely properly
educated to use the estimation tools. While the other of our case study companies offered
support and education in the estimation to the project management, the development
teams were not aware of these services. Furthermore, only a few mentioned university
education as a source of cost estimation knowledge, even though cost estimation
based on an expert’s opinion is nowadays a part of the standard workflow in many
companies. While effort estimation is a part of the curriculum guidelines suggested by</p>
        <p>ACM1, there might be a need for education organisations to re-evaluate the content of
teaching.
5.2</p>
      </sec>
      <sec id="sec-5-2">
        <title>Implications for theory</title>
        <p>
          The current SCE literature provides only a few case studies providing in-depth
knowledge of real-life situations
          <xref ref-type="bibr" rid="ref13">(Jørgensen and Shepperd, 2007)</xref>
          , and, to our best
knowledge, this is among the first studies to report on experiences related to
estimating software testing. This paper contributes to the body of knowledge by showing that
organisations seem to deviate from their standard practices when estimating testing
related tasks, causing estimation errors. The reason for deviations resides in negative
attitudes towards testing. Cost savings are rejected as a reason for deviations, as well
as poorly performed testing as a reason for overruns in testing.
        </p>
        <p>Furthermore, our literature review shows that there is a lack of empirical and
theoretical studies on addressing software testing effort estimation. While further work
such as a systematic literature review is needed to confirm this observation, this hints
that one of the reasons for software cost estimation related problems is the lack of
proper focus on testing and its effort estimation. However, new estimation tools or
methods for software testing are not silver bullets. A holistic view is needed for
improving the accuracy of software estimates.
5.3</p>
      </sec>
      <sec id="sec-5-3">
        <title>Limitations and further research</title>
        <p>This study has certain limitations. First, the findings of this study are subject to
constraints of the research methodology. This research studied two very similar software
projects, which limits the validity of the findings to similar contexts. It is
recommended that further research would be conducted in a different context to see if e.g. larger
projects or continuous product development projects suffer from similar testing
estimation related problems as reported in this paper. Second, a qualitative study is
always, to some degree, subjective and might be influenced by the expectations and
opinions of the researchers and interviewees. However, we did our best to treat the
data objectively and tool countermeasures to reduce bias. For example, all transcripts
and quotes, as well as the manuscript, were checked and approved by the interviewees
before the publication.</p>
        <p>Considering the big share of testing work in the overall software project and the
problems reported in this study, further research of the topic is justified. First, our
unstructured literature review did not reveal many studies in this topic. Thus, a more
thorough literature review should focus to shed more light on possible research gaps
1</p>
        <p>Software Engineering 2014. Curriculum Guidelines for Undergraduate Degree in Software
Engineering. https://www.acm.org/education/SE2014-20150223_draft.pdf
in software testing estimation. Second, there is a lack of studies addressing the
methods and tools used in the industry to estimate software testing. Further work should be
devoted to reveal the best practices already used in the industry.
6</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusions</title>
      <p>This research provides evidence that software testing related tasks in software projects
are estimated by using similar practices as for implementation related tasks, but
deviations from the standard practice occur often. These deviations, such as estimating
without a testing plan, estimating work that will be carried out by others or estimating
without knowing the actual testers, have been a source for even severe overruns. The
research rejects poorly performed testing as a source for overruns. Overruns
themselves are a source of decreased team motivation and customer satisfaction, and
additional work, among other things.</p>
      <p>The results of this research suggest that the reason for process deviations resides in
the negative attitudes towards testing. Widespread deviations from established
practices among both project management and technical staff, together with the direct
comments from the interviews, indicate that testing is not considered as important as
implementation, and therefore deviations are allowed. The results reject cost savings
as the reason for deviations.</p>
      <p>The main implications from the results for software managers, experts, project
managers and academia are the following:
• A deviating estimation process for software testing may lead to severe estimation
errors.
• Software projects should use the same rigor in estimating testing as for estimating
implementation. Deviations should not be allowed.
• Managers responsible for software and project processes must recognise the
importance of testing and promote the importance of it to change the attitudes
towards testing. This is necessary in order to establish the use of good practices in
organisations.</p>
      <p>Finally, the aforementioned serve also as a good starting point for further research.</p>
      <sec id="sec-6-1">
        <title>Acknowledgements.</title>
        <p>The authors gratefully acknowledge Tekes – the Finnish Funding Agency for
Innovation, DIGILE Oy and Need for Speed research program for their support.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Ammann</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Offutt</surname>
          </string-name>
          , J.: Introduction to Software Testing. Cambridge University Press, UK (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Benton</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Model-Based Time and Cost Estimation for Software Testing Environment</article-title>
          .
          <source>In: Sixth International Conference on Information Technology: New Generations</source>
          , pp.
          <fpage>801</fpage>
          -
          <lpage>806</lpage>
          . IEEE (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Boehm</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abts</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chulani</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Software development cost estimation approaches - A survey</article-title>
          .
          <source>Annals of Software Engineering</source>
          ,
          <volume>10</volume>
          (
          <issue>1-4</issue>
          ),
          <fpage>177</fpage>
          -
          <lpage>205</lpage>
          (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Boehm</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Software Engineering Economics</article-title>
          . Prentice-Hall, Englewood Cliffs, New Jersey (
          <year>1981</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Briand</surname>
            ,
            <given-names>L.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wieczorek</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Resource Estimation in Software Engineering</article-title>
          . Encyclopedia of Software Engineering. John Wiley &amp; Sons, Inc., New Jersey (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Buenen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Teje</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <source>World Quality Report 2014-15: Sixth Edition</source>
          . Capgemini, Sogeti and
          <string-name>
            <surname>HP</surname>
          </string-name>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Calzolari</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tonella</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Antoniol</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Dynamic model for maintenance and testing effort</article-title>
          .
          <source>In: Proceedings of the International Conference on Software Maintenance</source>
          <year>1998</year>
          , pp.
          <fpage>104</fpage>
          -
          <lpage>112</lpage>
          . IEEE (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Creswell</surname>
          </string-name>
          , J.: Research Design:
          <article-title>Qualitative and Quantitative and Mixed Methods Approaches</article-title>
          .
          <article-title>Second edition</article-title>
          .
          <source>SAGE Publications</source>
          , Inc.,
          <string-name>
            <surname>Thousand</surname>
            <given-names>Oaks</given-names>
          </string-name>
          , California (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Engel</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Last</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Modelling software testing costs and risks using fuzzy logic paradigm</article-title>
          .
          <source>Journal of Systems and Software</source>
          ,
          <volume>80</volume>
          (
          <issue>6</issue>
          ),
          <fpage>817</fpage>
          -
          <lpage>835</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Farr</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nanus</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Factors that Affect the Cost of Computer Programming</article-title>
          . Volume I.
          <source>Technical Documentary Report No. ESD-TDR-64-448</source>
          . United States Air Force, Bedford, Massachusetts (
          <year>1964</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Haberl</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Spillner</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vosseberg</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Winter</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Survey 2011: Software Testing in Practice. Auflage, dpunkt</article-title>
          .verlag, (
          <year>2012</year>
          ) http://www.istqb.org/documents/Survey_GTB.pdf
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Hoffman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Cost Benefits Analysis of Test Automation, Software Testing Analysis &amp; Review Conference (STAR East)</article-title>
          . Orlando, FL (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Jørgensen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shepperd</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A Systematic Review of Software Development Cost Estimation Studies</article-title>
          .
          <source>IEEE Transaction on Software Engineering</source>
          ,
          <volume>33</volume>
          (
          <issue>1</issue>
          ),
          <fpage>33</fpage>
          -
          <lpage>53</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Kemayel</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mili</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ouederni</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Controllable factors for programmer productivity: A statistical study</article-title>
          .
          <source>Journal of Systems and Software</source>
          <volume>16</volume>
          (
          <issue>2</issue>
          ),
          <fpage>151</fpage>
          -
          <lpage>163</lpage>
          (
          <year>1991</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>Laurenz</given-names>
            <surname>Eveleens</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            and
            <surname>Verhoef</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.:.</surname>
          </string-name>
          <article-title>The rise and fall of the Chaos Report figures</article-title>
          .
          <source>IEEE Software</source>
          ,
          <volume>27</volume>
          (
          <issue>1</issue>
          ),
          <fpage>30</fpage>
          -
          <lpage>36</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Lederer</surname>
            ,
            <given-names>A.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prasad</surname>
          </string-name>
          , J.:
          <source>Causes of Inaccurate Software Development Cost Estimates. Journal of Systems and Software</source>
          ,
          <volume>31</volume>
          (
          <issue>2</issue>
          ),
          <fpage>125</fpage>
          -
          <lpage>134</lpage>
          (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kang</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>D.:</given-names>
          </string-name>
          <article-title>Survey on software testing practices</article-title>
          .
          <source>IET Software</source>
          ,
          <volume>6</volume>
          (
          <issue>3</issue>
          ),
          <fpage>275</fpage>
          -
          <lpage>282</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Mieritz</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Surveys Shows Why Projects Fail</article-title>
          . G00231952. Gartner, Inc. (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Moløkken</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jørgensen</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A Review of Software Surveys on Software Effort Estimation</article-title>
          .
          <source>In: Proceedings of International Symposium on Empirical Software Engineering</source>
          , pp.
          <fpage>220</fpage>
          -
          <lpage>230</lpage>
          . IEEE (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Nelson</surname>
            ,
            <given-names>E. A.</given-names>
          </string-name>
          :
          <article-title>Management Handbook for the Estimation of Computer Programming Costs</article-title>
          .
          <source>Technical Documentary Report No. ESD-TR-67-66</source>
          . United States Air Force, Bedford, Massachusetts (
          <year>1966</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Ng</surname>
            ,
            <given-names>S.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Murnane</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reed</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grant</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
          </string-name>
          , T.Y.:
          <article-title>A preliminary survey on software testing practices in Australia</article-title>
          ,
          <source>In: Proceedings of the 2004 Australian Software Engineering Conference</source>
          , pp.
          <fpage>116</fpage>
          -
          <lpage>125</lpage>
          . IEEE (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Patton</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Qualitative Research and Evaluation Method, Third edition</article-title>
          .
          <source>SAGE Publications</source>
          , Inc.,
          <string-name>
            <surname>Thousand</surname>
            <given-names>Oaks</given-names>
          </string-name>
          , California (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Piderit</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <article-title>K: Rethinking Resistance and Recognizing Ambivalence: A Multidimensional View of Attitudes toward an Organizational Change</article-title>
          .
          <source>Academy of Management Review</source>
          ,
          <volume>25</volume>
          (
          <issue>4</issue>
          ),
          <fpage>753</fpage>
          -
          <lpage>794</lpage>
          (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Rahikkala</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leppänen</surname>
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ruohonen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Holvitie</surname>
          </string-name>
          , J.:
          <article-title>Top management support in software cost estimation: A study of attitudes and practice in Finland</article-title>
          .
          <source>International Journal of Management Projects in Business</source>
          ,
          <volume>8</volume>
          (
          <issue>3</issue>
          ),
          <fpage>513</fpage>
          -
          <lpage>532</lpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Ramler</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolfmaier</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Economic perspectives in test automation: balancing automated and manual testing with opportunity cost</article-title>
          .
          <source>Proceedings of the 2006 international workshop on Automation of software test</source>
          , pp.
          <fpage>85</fpage>
          -
          <lpage>91</lpage>
          . ACM (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>Runeson</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Höst</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rainer</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Regnell</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Case Study Research in Software Engineering: Guidelines and Examples</article-title>
          . John Wiley &amp; Sons, Inc., New Jersey (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27. Standish Group:
          <article-title>The Chaos Report</article-title>
          . The Standish Group (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <surname>Stelzer</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mellis</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Success factors of organizational change in software process improvement</article-title>
          .
          <source>Software Process: Improvement and Practice</source>
          <volume>4</volume>
          (
          <issue>4</issue>
          ),
          <fpage>227</fpage>
          -
          <lpage>250</lpage>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>The CHAOS Manifesto: Think Big</surname>
            ,
            <given-names>Act</given-names>
          </string-name>
          <string-name>
            <surname>Small</surname>
          </string-name>
          . The Standish Group International (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          30.
          <string-name>
            <surname>Wiegers</surname>
            ,
            <given-names>K. E.</given-names>
          </string-name>
          :
          <article-title>Software process improvement: Eight traps to avoid</article-title>
          . CrossTalk,
          <source>The Journal of Defense Software Engineering</source>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          31.
          <string-name>
            <surname>Yin</surname>
            ,
            <given-names>R. K.</given-names>
          </string-name>
          :
          <source>Case Study Research: Design and Methods</source>
          .
          <article-title>Third edition</article-title>
          .
          <source>SAGE Publications</source>
          , Inc.,
          <string-name>
            <surname>Thousands</surname>
            <given-names>Oaks</given-names>
          </string-name>
          , California (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>