UsefulLinks
Computer Science
Other Tools and Technologies
Bun JavaScript Runtime
1. Introduction to Bun
2. Installation and Setup
3. Getting Started
4. Core Runtime Architecture
5. JavaScript and TypeScript Support
6. Web Standards APIs
7. Node.js Compatibility
8. Package Management
9. Script Running and Execution
10. Testing Framework
11. Bundling and Build System
12. Built-in APIs and Utilities
13. Advanced Features
14. Web Development with Bun
15. Command Line Applications
16. Migration and Integration
17. Deployment and Production
18. Performance and Optimization
19. Troubleshooting and Debugging
10.
Testing Framework
10.1.
Test Runner Overview
10.1.1.
Built-in Test Runner
10.1.2.
Test Discovery
10.1.3.
Test Execution
10.1.4.
Reporting System
10.2.
Writing Tests
10.2.1.
Test Structure
10.2.2.
Test Functions
10.2.3.
Assertion Library
10.2.4.
Test Organization
10.3.
Test Lifecycle
10.3.1.
Setup and Teardown
10.3.2.
Before and After Hooks
10.3.3.
Test Isolation
10.3.4.
Resource Management
10.4.
Assertions and Matchers
10.4.1.
Expect API
10.4.2.
Built-in Matchers
10.4.3.
Custom Matchers
10.4.4.
Async Assertions
10.5.
Mocking and Spying
10.5.1.
Function Mocking
10.5.2.
Module Mocking
10.5.3.
Spy Functions
10.5.4.
Mock Management
10.6.
Test Configuration
10.6.1.
Test Patterns
10.6.2.
Timeout Settings
10.6.3.
Parallel Execution
10.6.4.
Coverage Settings
10.7.
Code Coverage
10.7.1.
Coverage Collection
10.7.2.
Coverage Reporting
10.7.3.
Coverage Thresholds
10.7.4.
Integration with CI/CD
Previous
9. Script Running and Execution
Go to top
Next
11. Bundling and Build System