Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Create an AUnit Test Skeleton for an Assembly Project

Create an AUnit Test Skeleton for an Assembly Project

AUnit is a Workday Studio test framework for developing and running unit tests for assemblies. AUnit test skeletons enable you to build test cases for your assemblies.
  1. Select
    File
    New
    Workday Assembly Project
    .
  2. On the
    Project name
    field, enter a name for your project.
    Project names must not contain spaces.
  3. On the
    Target Runtime
    field, select
    Workday Runtime
    .
  4. On the
    Configurations
    field, select
    Assembly (with Java support)
    .
  5. Click
    Finish
    .
  6. Select
    File
    New
    Other
    Class
    .
  7. On the
    New Java Class
    menu, consider:
    Option Description
    Package
    Enter a package name.
    Name
    Enter a name for the new java class.
    Superclass
    Click
    Browse
    , and select
    com.workday.aunit.AssemblyTestCase
    .
  8. Click
    Finish
    .
  9. On the
    Project Explorer
    view, right-click the
    src
    folder in your project.
  10. Select
    Add JUnit Library
    .
Studio displays your AUnit test skeleton on the java editor.
Run unit tests for your assemblies.