connect-group / thymeleaf-tdd

Test Driven Development framework for @Thymeleaf and Thymesheet
Apache License 2.0
3 stars 3 forks source link

Spring boot + thymeleaf tdd #5

Open angoothachap opened 5 years ago

angoothachap commented 5 years ago

Is there a sample on how to use thymeleaf-tdd with spring boot?

angoothachap commented 5 years ago

With my pom.xml dependencies as below, beanName in the ConfigurationClassParser is brought back as null.

`

org.springframework.boot
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.1.4.RELEASE</version>
</parent>
<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-thymeleaf</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <optional>true</optional>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>com.connect-group</groupId>
        <artifactId>thymeleaf-tdd</artifactId>
        <version>1.0.4</version>
        <scope>test</scope>
    </dependency>
</dependencies>`

image