Automate the creation and execution of unit test cases for any IBM i module, program or service program. Generate a complete unit test from Vscode in just a few clicks.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Welcome to the ARCAD iUnit VS Code Extension! This extension empowers you to automate unit testing for IBM i (AS/400) applications directly within Visual Studio Code, enhancing productivity and integrating seamlessly with your DevOps workflows.
🚀 Features
📜 Automated Test Creation
Generate Unit Tests Automatically: Create comprehensive unit tests from your IBM i source code with just a few clicks.
Parameter Detection: Automatically detects input/output parameters for accurate test creation.
Dynamic Test Program Generation: Quickly generate test programs to execute and provide the results.
🔄 Integration with DevOps Tools
Seamless Integration: Works flawlessly with Git, Jenkins, JUnit, Azure DevOps, and more, enabling smooth CI/CD pipelines.
VSCode Extension: Directly execute and generate result of unit tests within VSCode.
📊 Code Coverage and Performance Tracking
Code Coverage Metrics: View the percentage of code executed during tests to ensure comprehensive testing.
Performance Tracking: Monitor the time taken to run tests and detect performance issues early.
📦 Export to JUnit
JUnit Project Export: Export your iUnit repository to a JUnit project to access features like mocking and trace variable, enabling integration with other Java-based testing frameworks.
⚙️ jUnit Test Runner
Install jUnit Test Runner: Search for "Test Runner for Java by Red Hat" in the VS Code Extensions view and click Install.
Run jUnit Tests: Execute your jUnit tests directly within VS Code using the Test Runner for Java extension.
🧩 Mocking Capabilities
Mock Data and Components: Easily mock database files, programs and procedures to test individual units in isolation.
🧪 Trace and Tag Variables
Trace Variable: Utilize the Debug view to trace internal program variable values and follow their changes during test execution.
Tag Variable: Tag specific variables at specific source statements to monitor their values and behavior during the test execution.
🧩 Integration with DevOps
CI/CD Pipeline
Integrate iUnit into your CI/CD pipeline to automate the execution of unit tests and ensure code quality at every stage of development. Compatible with:
Git: Version control your unit test cases.
Jenkins: Automate test execution within your build pipeline.
JUnit: Utilize JUnit for enhanced test reporting.
Azure DevOps: Seamless integration for end-to-end DevOps workflows.
📥 Get Started
Install iUnit: Search for "ARCAD iUnit" in the VS Code Extensions view and click Install.
Download using Link: Download iUnit Extension directly from the VS Code Marketplace.
Read the Documentation: Explore the full capabilities and setup instructions in our online documentation.
Request a Demo: Contact us for a personalized demo to see iUnit in action.