Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [papyrus-rt-dev] Many JUnit tests aren't running in the build

Hi, Rémi,

Rather than rename files to make maven happy, why not just configure maven to run the AllTests suite of each bundle?  Then it will run the same tests as the launch configurations that we use in the development environment (that are checked into the repository).

cW



On 27 April, 2016 at 11:42:07, SCHNEKENBURGER Remi 211865 (remi.schnekenburger@xxxxxx) wrote:

Hi,

 

I discovered also that issue while working on the system protocol identification. I think indeed this is due to Maven conventions.

On one of my patches, I am renaming some of the tests to follow the maven conventions, removing some of the ‘s’ at the end of the classes. But in fact, lot of tests are failing, I wanted to investigate today or tomorrow the cause of these failures (as the Connector Tests)

 

Regards,

Rémi

 

 

 

-------------------------------------------------------

 

Rémi SCHNEKENBURGER

+33 (0)1 69 08 48 48

CEA Saclay Nano-INNOV

Institut CARNOT CEA LIST

 

Description : PapyrusLogo_SmallFormatwww.eclipse.org/papyrus

 

De : papyrus-rt-dev-bounces@xxxxxxxxxxx [mailto:papyrus-rt-dev-bounces@xxxxxxxxxxx] De la part de Christian Damus
Envoyé : mercredi 27 avril 2016 17:01
À : papyrus-rt-dev@xxxxxxxxxxx
Objet : [papyrus-rt-dev] Many JUnit tests aren't running in the build

 

Hi, Team,

 

In trying to figure out why tests are failing in an experimental TP-based build, I went to compare the test results against what I see in my development environment on the master branch.  The result was surprising.

 

The Maven build on Hudson is only executing some fraction of our tests.  Is this deliberate?  It only execute tests in classes named “*Test".  We have many test classes named “*Tests" (plural), which are simply ignored.  None of those tests run.  Included among them are the CreateConnectorTests suite of some dozen cases that fails to initialize the entire suite when executed in my development environment.  The build should have been failing on this for quite some while, now.

 

Cheers,

 

Christian

 

_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev

Back to the top