• DocumentCode
    1997847
  • Title

    Automated Testing of Environment-Dependent Programs - A Case Study of Modeling the File System for Pex

  • Author

    Kong, Soonho ; Tillmann, Nikolai ; De Halleux, Jonathan

  • Author_Institution
    Microsoft Res., Redmond, WA
  • fYear
    2009
  • fDate
    27-29 April 2009
  • Firstpage
    758
  • Lastpage
    762
  • Abstract
    Programs that interact with the file system are a classical challenge for automated software testing. A common approach to handling this problem is to insert an abstraction layer between the application and the file system. However, even with a well-defined abstraction layer, the burden on the software developer or tester is still high: they have to understand the subtleties of the file system to craft a meaningful set of test cases. The file system is accessed through a complex API, which often causes developers to overlook obscure yet possible corner cases. In this paper, we present a parameterized model of the file system that can be used in conjunction with Pex, an automated test generation tool, to test code that depends on the file system.
  • Keywords
    application program interfaces; file organisation; program testing; software tools; API; Pex; abstraction layer; automated software testing; automated test generation tool; code testing; file system modeling; software developer; software tester; Application software; Automatic testing; File systems; Information technology; Programming profession; Reactive power; Runtime library; Software testing; System testing; Automated Testing; Dynamic Symbolic Execution; Environment Modeling; Test Generation; Unit Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Technology: New Generations, 2009. ITNG '09. Sixth International Conference on
  • Conference_Location
    Las Vegas, NV
  • Print_ISBN
    978-1-4244-3770-2
  • Electronic_ISBN
    978-0-7695-3596-8
  • Type

    conf

  • DOI
    10.1109/ITNG.2009.80
  • Filename
    5070712