11,840 research outputs found

    Employing Classifying Terms for Testing Model Transformations

    Get PDF
    This contribution proposes a new technique for developing test cases for UML and OCL models. The technique is based on an approach that automatically constructs object models for class models enriched by OCL constraints. By guiding the construction process through so-called classifying terms, the built test cases in form of object models are classified into equivalence classes. A classifying term can be an arbitrary OCL term on the class model that calculates for an object model a characteristic value. From each equivalence class of object models with identical characteristic values one representative is chosen. The constructed test cases behave significantly different with regard to the selected classifying term. By building few diverse object models, properties of the UML and OCL model can be explored effectively. The technique is applied for automatically constructing relevant source model test cases for model transformations between a source and target metamodel.Universidad de MĂĄlaga. Campus de Excelencia Internacional AndalucĂ­a Tech

    Target Directed Event Sequence Generation for Android Applications

    Full text link
    Testing is a commonly used approach to ensure the quality of software, of which model-based testing is a hot topic to test GUI programs such as Android applications (apps). Existing approaches mainly either dynamically construct a model that only contains the GUI information, or build a model in the view of code that may fail to describe the changes of GUI widgets during runtime. Besides, most of these models do not support back stack that is a particular mechanism of Android. Therefore, this paper proposes a model LATTE that is constructed dynamically with consideration of the view information in the widgets as well as the back stack, to describe the transition between GUI widgets. We also propose a label set to link the elements of the LATTE model to program snippets. The user can define a subset of the label set as a target for the testing requirements that need to cover some specific parts of the code. To avoid the state explosion problem during model construction, we introduce a definition "state similarity" to balance the model accuracy and analysis cost. Based on this model, a target directed test generation method is presented to generate event sequences to effectively cover the target. The experiments on several real-world apps indicate that the generated test cases based on LATTE can reach a high coverage, and with the model we can generate the event sequences to cover a given target with short event sequences

    The making of Britain’s first urban landscapes: the case of late Iron Age and Roman Essex

    Get PDF
    This paper presents preliminary research into the social and economic impact of early urban settlement in Britain, focusing on the case-study area of Late Iron Age to Roman Essex. Through fresh analysis of ceramic assemblages from Colchester and Heybridge, we describe hitherto unrecognised socio-cultural groupings and identities through subtle differences in the deposition of pottery in the generations before and after conquest. The concluding discussion concentrates on problems that we still have to address in describing the economic basis of early urban society in Britain

    Oxygen isotopic evidence for accretion of Earth's water before a high-energy Moon-forming giant impact

    Get PDF
    The Earth-Moon system likely formed as a result of a collision between two large planetary objects. Debate about their relative masses, the impact energy involved, and the extent of isotopic homogenization continues. We present the results of a high-precision oxygen isotope study of an extensive suite of lunar and terrestrial samples.We demonstrate that lunar rocks and terrestrial basalts show a 3 to 4 ppm (parts per million), statistically resolvable, difference in Δ17O. Taking aubrite meteorites as a candidate impactor material, we show that the giant impact scenario involved nearly complete mixing between the target and impactor. Alternatively, the degree of similarity between the Δ17O values of the impactor and the proto-Earth must have been significantly closer than that between Earth and aubrites. If the Earth-Moon system evolved from an initially highly vaporized and isotopically homogenized state, as indicated by recent dynamical models, then the terrestrial basalt-lunar oxygen isotope difference detected by our study may be a reflection of post–giant impact additions to Earth. On the basis of this assumption, our data indicate that post–giant impact additions to Earth could have contributed between 5 and 30% of Earth’s water, depending on global water estimates. Consequently, our data indicate that the bulk of Earth’s water was accreted before the giant impact and not later, as often proposed

    The impact of ICT in schools: Landscape review

    Get PDF

    A domain-specific analysis system for examining nuclear reactor simulation data for light-water and sodium-cooled fast reactors

    Full text link
    Building a new generation of fission reactors in the United States presents many technical and regulatory challenges. One important challenge is the need to share and present results from new high-fidelity, high-performance simulations in an easily usable way. Since modern multiscale, multi-physics simulations can generate petabytes of data, they will require the development of new techniques and methods to reduce the data to familiar quantities of interest (e.g., pin powers, temperatures) with a more reasonable resolution and size. Furthermore, some of the results from these simulations may be new quantities for which visualization and analysis techniques are not immediately available in the community and need to be developed. This paper describes a new system for managing high-performance simulation results in a domain-specific way that naturally exposes quantities of interest for light water and sodium-cooled fast reactors. It describes requirements to build such a system and the technical challenges faced in its development at all levels (simulation, user interface, etc.). An example comparing results from two different simulation suites for a single assembly in a light-water reactor is presented, along with a detailed discussion of the system's requirements and design.Comment: Article on NiCE's Reactor Analyzer. 23 pages. Keywords: modeling, simulation, analysis, visualization, input-outpu

    ChimpCheck: Property-Based Randomized Test Generation for Interactive Apps

    Full text link
    We consider the problem of generating relevant execution traces to test rich interactive applications. Rich interactive applications, such as apps on mobile platforms, are complex stateful and often distributed systems where sufficiently exercising the app with user-interaction (UI) event sequences to expose defects is both hard and time-consuming. In particular, there is a fundamental tension between brute-force random UI exercising tools, which are fully-automated but offer low relevance, and UI test scripts, which are manual but offer high relevance. In this paper, we consider a middle way---enabling a seamless fusion of scripted and randomized UI testing. This fusion is prototyped in a testing tool called ChimpCheck for programming, generating, and executing property-based randomized test cases for Android apps. Our approach realizes this fusion by offering a high-level, embedded domain-specific language for defining custom generators of simulated user-interaction event sequences. What follows is a combinator library built on industrial strength frameworks for property-based testing (ScalaCheck) and Android testing (Android JUnit and Espresso) to implement property-based randomized testing for Android development. Driven by real, reported issues in open source Android apps, we show, through case studies, how ChimpCheck enables expressing effective testing patterns in a compact manner.Comment: 20 pages, 21 figures, Symposium on New ideas, New Paradigms, and Reflections on Programming and Software (Onward!2017
    • 

    corecore