×

Method for automating unit test development

  • US 20060248405A1
  • Filed: 03/21/2006
  • Published: 11/02/2006
  • Est. Priority Date: 03/21/2005
  • Status: Abandoned Application
First Claim
Patent Images

1. A method for generating JUnit tests for each of a JAVA or C# code unit basis paths, comprising the steps of:

  • providing a user-interface for manual selection of which Java or C# code unit a user would like to test;

    providing a database to store test data for the selected code unit;

    automatically parsing the selected code unit to identify all code constructs therein;

    automatically parsing the selected code and generating a full set of linearly independent test executing a look-up to said database to determine what test data, if any, already exist for the selected code unit and if it is still valid;

    providing a user-interface to guide the user through their code and prompting them to specify data that will force each decision outcome to be either true or false, as required for each identified test path;

    updating said database with said specified data;

    automatically creating a new class that contains one new method for each test path being tested;

    creating a complete JUnit/NUnit test suite that tests the new class and all basis paths therein.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×