logologo
Get Started
Guide
Development
Plugins
API
English
简体中文
Get Started
Guide
Development
Plugins
API
English
简体中文
logologo

Quick Start

Plugin Development Overview
Write Your First Plugin
Project Structure

Server Development

Overview
Plugin
Collections
Database
DataSourceManager
ResourceManager
ACL
Middleware
Cache
Event
Context
Migration
Logger
I18n
Command
CronJobManager
Test

Client Development

Overview
Plugin
Context
Router
ACL
DataSourceManager
Resource
Request
Styles & Themes
Logger
I18n
Test

Others

Plugin Upgrade Guide
Languages
Dependency Management
Build
Previous PageI18n
Next PagePlugin Upgrade Guide

#Test

TIP

This chapter will introduce how to write and run tests for the frontend part of plugins. Content will include:

  • Test environment configuration and dependencies;
  • Writing unit tests using Vitest and Testing Library;
  • How to simulate NocoBase frontend runtime environment;
  • Automatically execute tests in CI.

We will supplement detailed examples and best practices in future versions.