🛠️ 工程化工具 - TESTING

共 13 道题目

#1 初级

前端测试的分类有哪些?各自的作用?

What are the categories of front-end testing? What are their respective roles?

**What are the categories of front-end testing? What are their respective roles?**
- *考察点:测试分类理解。*
#2 初级

什么是单元测试?为什么要写单元测试?

What is unit testing? Why write unit tests?

**What is unit testing? Why write unit tests?**
- *考察点:单元测试基础。*
#3 初级

Jest测试框架的基本使用方法?

What are the basic usage methods of Jest testing framework?

**What are the basic usage methods of Jest testing framework?**
- *考察点:测试工具基础。*
#4 初级

如何测试JavaScript函数?

How to test JavaScript functions?

**How to test JavaScript functions?**
- *考察点:函数测试方法。*
#5 初级

什么是Mock?在测试中的作用?

What is Mock? What is its role in testing?

**What is Mock? What is its role in testing?**
- *考察点:Mock概念理解。*
#1 中级

React/Vue组件的测试策略?

What are the testing strategies for React/Vue components?

**What are the testing strategies for React/Vue components?**
- *考察点:组件测试方法。*
#2 中级

如何测试异步代码?

How to test asynchronous code?

**How to test asynchronous code?**
- *考察点:异步测试处理。*
#3 中级

端到端测试的实现和工具选择?

How to implement end-to-end testing and tool selection?

**How to implement end-to-end testing and tool selection?**
- *考察点:E2E测试实践。*
#4 中级

测试覆盖率的意义和提升方法?

What is the significance of test coverage and methods to improve it?

**What is the significance of test coverage and methods to improve it?**
- *考察点:测试质量评估。*
#5 中级

如何在CI/CD中集成测试?

How to integrate testing in CI/CD?

**How to integrate testing in CI/CD?**
- *考察点:测试自动化集成。*
#1 高级

大型应用的测试架构设计?

How to design testing architecture for large applications?

**How to design testing architecture for large applications?**
- *考察点:测试架构思维。*
#2 高级

测试驱动开发(TDD)的实践?

What are the practices of Test-Driven Development (TDD)?

**What are the practices of Test-Driven Development (TDD)?**
- *考察点:TDD开发模式。*
#3 高级

性能测试和安全测试的实现?

How to implement performance testing and security testing?

**How to implement performance testing and security testing?**
- *考察点:专项测试能力。*

---

*测试是软件质量的重要保障,需要结合项目特点选择合适的测试策略和工具。*