Skip to content

NTD-AUT: A Non-Test Driver Concolic-Based Unit Testing Method for Java Projects

Notifications You must be signed in to change notification settings

ndtd128/NTD-AUT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTD-AUT: A Non-Test Driver Concolic-Based Unit Testing Method for Java Projects

USER MANUAL

Required environment

How to Run?

  1. Clone and Open the project in IntelliJ IDEA
  2. Add JavaFX SDK to the project (File -> Project Structure -> Libraries -> Add -> Java -> Select the lib folder of JavaFX SDK)
  3. Edit Configuration
    • New Configuration -> Application
    • Main class: gui.Main
    • Modify options -> Add VM options: --module-path <path-to-lib-folder-of-javafx-sdk> --add-modules javafx.controls,javafx.fxml (TODO: Change the path to your JavaFX SDK lib folder)
  4. Run the project, the tool will ask you to choose between two options:
    • Option 1: NTD method
    • Option 2: Traditional concolic method
      image
  5. After choosing the method, the main screen looks like this: image
  6. Upload the project by clicking the Choose file button, then select the project folder.
    Note:
    • We have provided some sample projects in the sample folder.
    • The project should be compressed into a zip file.
    • The project should contain the java folder, which contains the source code.
  7. After the project is uploaded, choose the unit and then choose the coverage criteria.
  8. Click the Generate button to start the testing process. The result will be displayed and you can click on each test case to see the details as well as below: image

About

NTD-AUT: A Non-Test Driver Concolic-Based Unit Testing Method for Java Projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages