Upgrade to Pro — share decks privately, control downloads, hide ads and more …

C/C++ Code Testing Simplified

C/C++ Code Testing Simplified

We found Swig an effective tool to open an interface such that API tests could be written fast, effectively and validation became easier. Swig supports conversion in many languages. Testers can now leverage to write tests in any high level language like Python, java , c#

Pradeep Kumar

June 19, 2014

Other Decks in Technology


  1. Agenda • Project Overview • Team Members • Automation Objectives

    • Tools Analysis • SWIG • Sample Code Demo • Q&A
  2. Project Overview • Autodesk Download Manager • Reliable approach to

    download Autodesk products • Saves time by decompressing product files in parallel • Multi Part download • Disaster recovery
  3. Team Members • Product Owner • SCRUM Master • Developers

    • Black box Testers • Grey box Testers • API Tester
  4. Automation Objectives Automation Objectives Faster to Learn Faster to Develop

    Automated Acceptance Test Faster to adapt in team
  5. SWIG • Automatically generates the bindings • Supports c/c++ data

    types including pointers, structures/classes • Supports scripting languages Tcl, Python, Perl, Guile, PHP • Supports Java, Ruby, c# and many more
  6. SWIG – How it works SWIG example.h example.i Other header

    Files example_wrap.cxx example.py C/C++ _example.pyd example.lib example_wrap.cxx
  7. Q/A