Testing
Django Application Performance Testing Based on Docker
· β˜• 5 min read
1. Basic Website Performance Metrics Concurrency: the number of sessions the server handles per unit of time Throughput: the number of requests the server handles per unit of time Response time: the total elapsed time from when the user sends a request to when the response is fully received, made up of network transmission time, service processing time, and other parts Average response time: the average of the response times of all requests 2.

Automated Testing Tool - Selenium
· β˜• 5 min read
1. Introduction to Selenium Selenium is an integration testing tool from Thoughtworks. At its core, Selenium Core is based on JSUnit, written entirely in JavaScript, and can run in any browser that supports JavaScript. 1.1 Main Features and Characteristics Open source and free. Multi-browser support: Firefox, Chrome, IE, Opera β€” usable for compatibility testing.

Automated Testing in Django
· β˜• 2 min read
Automated testing in Django can be done with doctests or unit tests. The logic of automated testing is to pass test data into the function under test, then use whether the output matches the expected result as the criterion for whether the test passes. There are a few key points