silvioprog 6a94b6abf9 Dropped support to very old FPC versions. 5 years ago
..
AllTests.groupproj 8617d61337 Merging from branch "expr". 5 years ago
AllTests.lpg 048650a165 Added tests for the math expression class. 5 years ago
README.md b6e7e958fe Preparing the structure to add new tests. 6 years ago
RunAllTests.bat 64702b3bca Added PasDoc script to generate documentation via shell. 5 years ago
RunAllTests.sh 64702b3bca Added PasDoc script to generate documentation via shell. 5 years ago
Test.pas 2c74edcbdb Fixed warnings in all tests. 5 years ago
Test_HTTPAuthentication.dpr 1c4d95bf4c Updated LICENSE file. Brook framework remains LGPLv2.1-licensed. 6 years ago
Test_HTTPAuthentication.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_HTTPAuthentication.lpi 8617d61337 Merging from branch "expr". 5 years ago
Test_HTTPCookies.dpr 8e56a778eb Drop support for FPC 3.0.0. 5 years ago
Test_HTTPCookies.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_HTTPCookies.lpi 12f9c200ad Added tests for the BrookHTTPCookies classes. 5 years ago
Test_HTTPRequest.dpr ed18b36bc1 Fixed broken tests. 5 years ago
Test_HTTPRequest.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_HTTPRequest.lpi b840d38c56 Improved the media types feature by choosing the provider according the system. 6 years ago
Test_HTTPResponse.dpr 8617d61337 Merging from branch "expr". 5 years ago
Test_HTTPResponse.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_HTTPResponse.lpi 45bc7ff99e Added tests for the HTTP response feature. 6 years ago
Test_HTTPServer.dpr 8e56a778eb Drop support for FPC 3.0.0. 5 years ago
Test_HTTPServer.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_HTTPServer.lpi 4557106b30 Added tests for the HTTP Server Security feature. 6 years ago
Test_HTTPUploads.dpr 8617d61337 Merging from branch "expr". 5 years ago
Test_HTTPUploads.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_HTTPUploads.lpi b840d38c56 Improved the media types feature by choosing the provider according the system. 6 years ago
Test_LibraryLoader.dpr 8617d61337 Merging from branch "expr". 5 years ago
Test_LibraryLoader.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_LibraryLoader.lpi b840d38c56 Improved the media types feature by choosing the provider according the system. 6 years ago
Test_MathExpression.dpr 048650a165 Added tests for the math expression class. 5 years ago
Test_MathExpression.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_MathExpression.lpi 8617d61337 Merging from branch "expr". 5 years ago
Test_MediaTypes.dpr 8617d61337 Merging from branch "expr". 5 years ago
Test_MediaTypes.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_MediaTypes.lpi b840d38c56 Improved the media types feature by choosing the provider according the system. 6 years ago
Test_Reader.dpr 8617d61337 Merging from branch "expr". 5 years ago
Test_Reader.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_Reader.lpi b840d38c56 Improved the media types feature by choosing the provider according the system. 6 years ago
Test_String.dpr f9597fc51c Added more tests for the BrookString unit. 6 years ago
Test_String.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_String.lpi b840d38c56 Improved the media types feature by choosing the provider according the system. 6 years ago
Test_StringMap.dpr 8617d61337 Merging from branch "expr". 5 years ago
Test_StringMap.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_StringMap.lpi b840d38c56 Improved the media types feature by choosing the provider according the system. 6 years ago
Test_URLEntryPoints.dpr 8e56a778eb Drop support for FPC 3.0.0. 5 years ago
Test_URLEntryPoints.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_URLEntryPoints.lpi 9c810c0094 Added tests for the "BrookURLEntryPoints" unit. 5 years ago
Test_URLRouter.dpr 8617d61337 Merging from branch "expr". 5 years ago
Test_URLRouter.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_URLRouter.lpi 34141fb075 Added simple example showing a basic SSE (Server-sent events) server. 5 years ago
Test_Utility.dpr ed18b36bc1 Fixed broken tests. 5 years ago
Test_Utility.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_Utility.lpi b840d38c56 Improved the media types feature by choosing the provider according the system. 6 years ago
Test_libsagui.dpr 8617d61337 Merging from branch "expr". 5 years ago
Test_libsagui.dproj 8617d61337 Merging from branch "expr". 5 years ago
Test_libsagui.lpi 0fa8fe8bcf Added unit to make exception testing easy. 6 years ago
Tests.inc 6a94b6abf9 Dropped support to very old FPC versions. 5 years ago
TextFile.txt 1ef56c06b1 Added tests for the line reader. 6 years ago
fakemime.types f9183dae58 Fixed media types parser avoiding empty characters. 6 years ago

README.md

How to do the tests?

Compile the test you want. Now, after generating its executable, open the terminal and run the script related to your system. On Linux:

./RunAllTests.sh

on Windows:

RunAllTests.bat

How to check if the test is OK?

The script will report the result of all tests, for example:

./Test_String OK
./Test_StringMap OK
./Test_Utils OK
./Sagui/Test_libsagui OK
Total: 4

If you do not get the message OK in front the test, then probably it failed.

Note: you need to install the Brook library before doing any test, because the most of them depends on it.

How to report a bug when a test fails?

You have two options:

  1. Open issue at new issue page;
  2. Fork the project, fix the bug and open a pull-request (more about fork/PR).