Skip to content

🍴M.EIC 2023/2024 - 2ⁿᵈ year/ 1ˢᵗ semester

Notifications You must be signed in to change notification settings

Educorreia932/TableFork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software Language Engineering

Group 04

Table Fork

Table Fork is a DSL for tabular data extraction and manipulation from arbitrary sources.

Checkpoints

Checkpoint 1: 2023/10/03

Checkpoint 2: 2023/11/07

Checkpoint 3: 2023/12/12

Project setup

For this project, you need to install Gradle

Copy your source files to the src folder, and your JUnit test files to the test folder.

Compile and Running

To compile and install the program, run gradle installDist. This will compile your classes and create a launcher script in the folder build/install/els2023-4/bin. For convenience, there are two script files, one for Windows (els2023-4.bat) and another for Linux (els2023-4), in the root of the repository, that call these scripts.

After compilation, tests will be automatically executed, if any test fails, the build stops. If you want to ignore the tests and build the program even if some tests fail, execute Gradle with flags "-x test".

When creating a Java executable, it is necessary to specify which class that contains a main() method should be entry point of the application. This can be configured in the Gradle script with the property mainClassName, which by default has the value pt.up.fe.els2023.Main.

Test

To test the program, run gradle test. This will execute the build, and run the JUnit tests in the test folder. If you want to see output printed during the tests, use the flag -i (i.e., gradle test -i). You can also see a test report by opening build/reports/tests/test/index.html.