Giter Club home page Giter Club logo

cfp-example's Introduction

10 ways to get super-productive with Spring Boot

This sample project is going to be used for a talk demoing how Spring Boot helps you to be super-productive.

cfp-example's People

Contributors

snicoll avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cfp-example's Issues

DataJpaTest, how to execute separatly ?

Hello Stephane,

Actually, when running mvn clean test (for exemple on your project), SubmissionTest also execute UserTest (and no SpringContext was loaded for UserTest) :

`

2017-04-25 11:41:53.437 INFO 9368 --- [ main] com.example.cfp.domain.SubmissionTest : Starting SubmissionTest on MacBook-.local with PID 9368 (started by melkior in /Users/melkior/Documents/Workplaces/cfp-example)

...

Running com.example.cfp.domain.UserTest

...

`

  • Why com.example.cfp.domain.UserTest was run inside SubmissionTest (even if it contains is own @DataJpaTest annotation )?
  • Here is a way to independly execute DataJpaTest i.e loading spring context for each com.example.cfp.domain.SubmissionTest and com.example.cfp.domain.UserTest without execute all of theses tests in each Test class ?
  • How can i load a different context (for exemple a different liquibase changelog entry-point) for each test ? (by profile or @TestPropertySource(properties = "liquibase.change-log=classpath:my.db.changelog-test.xml", even if this annotation is designed for integration tests and not for jpa tests ?)

I work on a project containing at least 15 @DataJpaTest and all tests was executed for each test class which is redundant and take extra time ...

Thanks for your answer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.