Describe Transpiler - Testing
We test the different projects and components - parser, compiler, etc. both via unit tests and integration tests. This page goes over some aspects of the integration testing we do. However, this section of the documentation is not complete. For the complete documentation you can directly browse the testing directory on github
Files
We have devised (and are devising) describe source code test files (.ds) that aim to test various different scenarios for each version of the Describe grammar, in order to run integration tests. These test files are grouped in folders by categories - encrypted_files, decrypted_files, recrypted_files, TestFilesFor06, TestFilesFor07, TestFilesFor08, TestFilesFor09, TestFilesFor10, TestFilesFor11, live_Radio.
The encrypted_files, decrypted_files, and recrypted_files are source code files used to test encryption, decryption, and recryption functionality with the CLI app. These files are identical to those found in the live_Radio folder, which is a test project focused on Bulgarian radio playlists.
All other folders contain test files designed for specific scenarios and features corresponding to different language versions. The goal is to ensure that each parser can successfully handle tests from previous language versions, thereby maintaining backward compatibility.
Links
Testing - Grammar v0.6
Testing - Grammar v0.7
Testing - Grammar v0.8
Testing - Grammar v0.9
Testing - Grammar v1.0
Testing - Grammar v1.1
Back