GithubHelp home page GithubHelp logo

Comments (4)

tbroyer avatar tbroyer commented on July 20, 2024

Actually, gwt:test defaults to running test suites, rather than test cases (see https://tbroyer.github.io/gwt-maven-plugin/test-mojo.html#includes). Given the perf gains, I set it as the default to enforce (or at least incentivize to) the “best practice”: http://www.gwtproject.org/doc/latest/DevGuideTesting.html#DevGuideJUnitSuites

NB: I should settle on a channel for such questions; the issue tracker is OK for now, as well as StackOverflow (I monitor the gwt tag) or the GWT forums on Google Group.

from gwt-maven-plugin.

dnouls avatar dnouls commented on July 20, 2024

Thanks, that did it

from gwt-maven-plugin.

rjeeb avatar rjeeb commented on July 20, 2024

@tbroyer is this applied on Junit 5 too?

Update:

adding this to gwt-maven-plugin fixes the problem

<executions>
    <execution>
        <goals>
            <goal>test</goal>
        </goals>
        <configuration>
            <includes>
                <include>**/*Test.java</include>
            </includes>
        </configuration>
    </execution>
</executions>

from gwt-maven-plugin.

tbroyer avatar tbroyer commented on July 20, 2024

GWT only supports JUnit 3 kind of tests (JUnit 4 to some extent, though actually only for the @RunWith(Suite.class)).

Please note that if you have a shared library (both client/GWT and JVM), you shouldn't use a gwt-lib; you should have a jar for the server and a gwt-lib that works as an adapter: see https://tbroyer.github.io/gwt-maven-plugin/
(if you find that verbose, remember that you're using Maven)

from gwt-maven-plugin.

Related Issues (20)

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.