-
Notifications
You must be signed in to change notification settings - Fork 1
Testing
jvf edited this page Jun 15, 2013
·
24 revisions
The fuc group decided a goal of 90% test coverage for the project.
Integration tests are tests which test the whole compiler chain: Lexer -> Parser -> Semantic Analyser -> IR Generator -> LLVM Backend.
The integration tests can be found in fuc/code/test
. In order to be able to use the example programes in different test classes, they are centralized in javaExampleProgs.java
, TestBase.java
provides the base class for all integration tests.
There are two kinds of integration tests:
-
Compilation Tests
-
Runtime Tests