Crawler test :

Because crawler is the data source of the whole system , Very important , But because of the citation jar Package and run complex , This is mainly for functional testing , By increasing the seed, Run crawler , You can see the continuous refresh of logs and the increasing number of database entries in the background console , Proved the correctness of the crawler , about word、pdf And so on , Also only do functional testing . The result is satisfactory

Module unit test :

This part mainly includes three parts , We have written unit test reports for each of the three modules , as follows :

Database connection part test :

pdf、html Processing tests :

word And word segmentation test :

Front end test :

Here, the main number of front-end test is compared with the previous functional design

Because the front end is difficult to implement unit testing , So here's mainly functional testing , In a typical scenario , Compare the expected effect with the actual effect

The test scenario contains :

  1. Account login and logout
  2. Reptiles start and stop
  3. Reptiles seed Add and delete the web address
  4. Crawler multithreading
  5. Data processing starts and stops
  6. Real time acquisition of processing progress
  7. Crawler crawling progress real-time access

Test matrix :

Because the front end of the program is a web page , So it involves the testing of web pages for different versions of browsers and different systems , Constraints and actual conditions , We did the following tests :

System browser result
win10 firefox normal
win10 chrome normal
win10 QQ normal
win10 IE normal
win10 EDGE normal
win server sogou normal
win server IE normal

SOLR test :

The ultimate goal of the program is to provide data to the front-end group, and also for the display of Xueba website , So we're also interested in solr Upload function has been tested :

By visiting solr Manage web pages :

Execute the query , You can see the final number of nodes :

And as data processing goes on , This node is growing , prove solr The correctness of data upload

test bug Summary :

  1. The crawler background program cannot be enabled on the server
  2. The data processor cannot run too many threads , Otherwise, an exception will be thrown when the database is written
  3. Web crawler keyword related functions are useless

Beta More articles on version test reports

  1. Beta Version test report and Beta Release notes

    Beta Version test report According to the requirements document of the software in the team project . Functional specifications . System design and Beta Stage planning , Write out the testing process and results of the software , And answer the following questions . How many... Were found during the test bug? Each category of bug , respectively, ...

  2. Crawling is going on - Beta Version test report

    [Crawling is going on - Beta edition ] Test report File status : [] draft [√] Official release [] Modifying Report number : current version : 2.0.2 Prepared by : Zhou Xuan . Liu Haoyan . Ju Yuhao ...

  3. barter beta Version test report

    test For the server side, we did a unit test For the client, we use the online cloud test tool to app It's done, including installation , start-up , Specific functions and ui Aspect test . in addition , For clients , We also conducted a manual test of the detailed functions Function requirement number ...

  4. Team work 9—— Test and release (Beta edition )

    Deadline: 2017-6-5 22:00PM, Subject to the date of the blog The benchmark : Due on time - Some points , The inspection items include the following two aspects Test report Release notes Show blog ( A single blog ) Late delivery - 0 branch Late delivery ...

  5. 【 Jimei University 1411_ TA blog 】 Team work 9—— Test and release (Beta edition )

    Let me write it out front We have seen the results of your release , Delighted , Although some teams still have some problems with their products , But we've all released it , This is the charm of software . But there are still some problems , The video you recorded was either not explained or was too fast , I don't think it's on sale ...

  6. 【2017 Jimei University 1412 Soft engineering practice _ TA blog 】 Team work 9—— Test and release (Beta edition )

    subject Team work 9-- Test and release (Beta edition )( Team work 9-1 Test and release results The score is 1 0.5 0.5 ...

  7. Jimei University Network 1413 The fourteenth assignment ( Team nine ) -- Test and release & Blog display (Beta edition )

    subject Team work 9-- Test and release (Beta edition ) Team work 9 achievement   The team / The score is Beta Version test report Beta Release notes        Total score   Bug Category . Number Scenario test test result Test matrix Export conditions ...

  8. 【1414 Soft assistant 】 Team work 9—— Test and release (Beta edition ) Scoreboard

    subject Team work 9-- Test and release (Beta edition ) Past results Personal work 1: Four computing console Pairing projects 1:GUI Personal work 2: case analysis Pairing projects 2: unit testing Team work 1: Team show Team work 2: Demand analysis & ...

  9. Team work 9--beta Version test report and release notes

    Beta Version test report 1.bug The classification of a. repair bug Some users can't get the location e. This bug It should be fixed , But there's no time to fix it in this version , Delay to the next version to fix . The front end cannot view the user's check-in information 2. Scenario test ...

Random recommendation

  1. Wechat is a time bomb ? About non prison break iOS Wechat is a high-risk plug-in ImgNaix Analysis of

    author : Steamed rice @ Alibaba security mobile preface Wechat is the largest application on mobile phones , With hundreds of millions of users . And many people have more than one wechat account , Some wechat accounts are used for business , Some are for personal use . Unfortunately, the official version of wechat does not support multiple functions , And frequency ...

  2. maridb(mysql) debian-sys-maint The user instructions

    debian-sys-maint in Debian System pair MySQL For maintenance , It can be understood as through a certain part of the system “ unconventional ” Program pair Mysql When doing backup and recovery, etc , Change the login used by the program Mysql The account of . This debian- ...

  3. C++ Multithreading 1

    An instance of multithreading #include "stdafx.h" #include <windows.h> DWORD __stdcall Func(LPVOID pm) { ...

  4. Android-Cdma Mobile location

    about Android CDMA The mobile phone gets the current location , In fact, there is a more convenient way , It's just cheating CdmaCellLocation.getBaseStationLatitude(), Then getBaseStationLatit ...

  5. poj 1191 Chessboard division Dynamic programming

    Chessboard division Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 11457   Accepted: 4032 Description ...

  6. c++ How to get system time

    c++ How to get system time 2008-04-28 15:34 // programme — Strengths : Use only C Standard library : shortcoming : It's only accurate to seconds #include <time.h> #include <stdi ...

  7. String comparison strcmp

    problem : Prototype :extern int strcmp(const char *s1,const char * s2); The header file :string.h function : Compare strings s1 and s2. General form :strcmp( ...

  8. C# Split There are too many characters in the character text

    problem : ] { '<h1>', '</h1>' }); reason : Split() It's for char The type is not string String type , So you can only use one character , You have to replace more than one character with one ...

  9. In a nutshell TIME_WAIT

    Why would there be TIME_WAIT? The active close end sends out ACK Later 2MSL( Longest segment life span ), Prevent the opposite end from receiving ACK This situation , retransmission . Officially , More official ...... (1)  To achieve reliably TCP Termination of full duplex connection : ...

  10. me

    PXKUNUIN6A- eyJsaWNlbnNlSWQiOiJQWEtVTlVJTjZBIiwibGljZW5zZWVOYW1lIjoi5b285bK4IDEiLCJhc3NpZ25l ZU5hbWU ...