Asper Header  1.0.14
The header injector extension
Loading...
Searching...
No Matches
extension.test.ts File Reference

Comprehensive test suite for AsperHeader extension core functionality. More...

Go to the source code of this file.

Variables

import *as assert from assert
 
import *as vscode from vscode
 
import *as path from path
 
import *as fs from fs promises
 
 import { moduleName } from '../constants'
 

Detailed Description

Comprehensive test suite for AsperHeader extension core functionality.

Author
Henry Letellier
Version
1.0.10
Since
1.0.0
Date
2025

This module provides the main test suite for validating the core functionality of the AsperHeader VS Code extension. It includes integration tests, API validation, and regression testing to ensure extension stability and reliability across different VS Code versions and operating environments.

Test Coverage:

  • Extension activation and deactivation lifecycle
  • Command registration and execution validation
  • Configuration loading and management
  • File operation integration testing
  • Error handling and recovery scenarios
  • Performance benchmarking and optimization validation

Testing Framework: Uses VS Code's built-in testing framework with Mocha test runner for comprehensive integration testing within the actual VS Code environment.

Definition in file extension.test.ts.

Variable Documentation

◆ assert

import* as assert from assert

Definition at line 27 of file extension.test.ts.

◆ import

import { moduleName } from '../constants'

Definition at line 31 of file extension.test.ts.

◆ path

import* as path from path

Definition at line 29 of file extension.test.ts.

◆ promises

import* as fs from fs promises

Definition at line 30 of file extension.test.ts.

◆ vscode

import* as vscode from vscode

Definition at line 28 of file extension.test.ts.