/
Setting up a Project
Setting up a Project
- To enable TDD4C, you need to have a dependancy on the tdd4c library, which is provided as a Maven artefact in Maven repository. If you simply follow the steps described in Create New Project, it will get downlaoded to the project automatically since it is already included in the built-in pom.xml.
In order to run TDD4C tests using the continuous integration, your pipeline need to execute the
mvn test
commnad. This is already covered by the existing templates for GitLab, GitHub and BitBucket. So if you generate the pipeline configuration script using the context menu Pricefx > CI Deployment in Studio, you don't need to do anything else.- Make sure you marked the CalculationLogicTest folder as Test Sources Root in IDEA. This should be done by default during the action Upgrade Studio Project Libraries.
Related content
Run Test of Element Execution
Run Test of Element Execution
Read with this
Install Maven and Add Pricefx Repository
Install Maven and Add Pricefx Repository
More like this
Unit Testing Logics with TDD4C
Unit Testing Logics with TDD4C
Read with this
Fetch Logics
Fetch Logics
More like this
Unit Test Examples
Unit Test Examples
Read with this
Pricefx Studio
Pricefx Studio
More like this
Found an issue in documentation? Write to us.