Back to Nocobase

Test

docs/docs/en/plugin-development/client/test.md

2.0.56408 B
Original Source

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.

:::